doctor: core.autocrlf can be empty

c.f. #17361.
This commit is contained in:
Jack Nagel committed 2013-01-30 01:26:28 -06:00
1 parent 0cf22192f5
commit eff8a61254
1 file changed
+1 -1
+1 -1
View File
@@ -723,7 +723,7 @@ def check_git_newline_settings
autocrlf = `git config --get core.autocrlf`.chomp
safecrlf = `git config --get core.safecrlf`.chomp
unless autocrlf == 'false' then <<-EOS.undent
if !autocrlf.empty? && autocrlf != 'false' then <<-EOS.undent
Suspicious Git newline settings found.
The detected Git newline settings will cause checkout problems: