From 27700390b46f33f405494a7f636aeb7f8659c8df Mon Sep 17 00:00:00 2001
From: Mike McQuaid <mike@mikemcquaid.com>
Date: Wed, 30 Jan 2013 19:54:32 -0800
Subject: [PATCH] Improve brew doctor autocrlf message.

Better version of ed357d.

References Homebrew/homebrew#15711.
References Homebrew/homebrew#17361.
References Homebrew/homebrew#17437.
---
 Library/Homebrew/cmd/doctor.rb | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index 42b2090dd0..64be171d61 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
-- 
GitLab