diff --git a/Library/Homebrew/tap.rb b/Library/Homebrew/tap.rb index 17e84d1b01..e3d5b1cce9 100644 --- a/Library/Homebrew/tap.rb +++ b/Library/Homebrew/tap.rb @@ -182,7 +182,7 @@ class Tap Utils.ensure_git_installed! ohai "Tapping #{name}" unless quiet remote = options[:clone_target] || "https://github.com/#{user}/homebrew-#{repo}" - args = %W[clone #{remote} #{path}] + args = %W[clone #{remote} #{path} --config core.autocrlf=false] args << "--depth=1" unless options.fetch(:full_clone, false) args << "-q" if quiet