
25 Nov
2013
25 Nov
'13
8:13 a.m.
Provided that the backend repository uses LF line endings exclusively (which is the git-recommended style), autocrlf=true is the recommended setting on Windows and should not result in a diff being shown if the checkout was made with this setting in force. [1][2]
In my experience, it's much simpler to always have autocrlf=false no matter the platform you are on. There are scenarios where autocrlf might be desired, but it's usually much simpler to have it false and handle this at the editor level... http://stackoverflow.com/questions/2825428/why-should-i-use-core-autocrlf-tr... http://stackoverflow.com/questions/2333424/distributing-git-configuration-wi... My 0.02$ Philippe