Improve brew doctor autocrlf message.
Better version of ed357d. References Homebrew/homebrew#15711. References Homebrew/homebrew#17361. References Homebrew/homebrew#17437.
This commit is contained in:
parent
351cd89a71
commit
27700390b4
@ -730,10 +730,8 @@ def check_git_newline_settings
|
|||||||
core.autocrlf = #{autocrlf}
|
core.autocrlf = #{autocrlf}
|
||||||
|
|
||||||
If you are not routinely dealing with Windows-based projects,
|
If you are not routinely dealing with Windows-based projects,
|
||||||
consider removing these settings.
|
consider removing these by running:
|
||||||
|
`git config --global --set core.autocrlf false`
|
||||||
Alternatively run:
|
|
||||||
`git config -f #{HOMEBREW_REPOSITORY}/.git/config --add core.autocrlf false`
|
|
||||||
EOS
|
EOS
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user