aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2013-01-30 19:54:32 -0800
committerMike McQuaid2013-01-30 21:29:19 -0800
commitfbbfc7474c53d1f7a37de4106db00fb5c7c53e60 (patch)
treef5183bbe8f0f6a33e343bed03bbd167c6e8b56b8 /Library
parentd1ffdb86293560db0df671d67aaf105e86055742 (diff)
downloadhomebrew-fbbfc7474c53d1f7a37de4106db00fb5c7c53e60.tar.bz2
Improve brew doctor autocrlf message.
Better version of ed357d. References #15711. References #17361. References #17437.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/doctor.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index 42b2090dd..64be171d6 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -730,10 +730,8 @@ def check_git_newline_settings
core.autocrlf = #{autocrlf}
If you are not routinely dealing with Windows-based projects,
- consider removing these settings.
-
- Alternatively run:
- `git config -f #{HOMEBREW_REPOSITORY}/.git/config --add core.autocrlf false`
+ consider removing these by running:
+ `git config --global --set core.autocrlf false`
EOS
end
end