Boost logo

Boost :

Subject: Re: [boost] [git] Line endings in bootstrap.bat on Windows
From: Philippe Vaucher (philippe.vaucher_at_[hidden])
Date: 2013-11-25 03:13:04


> 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-true-in-git
http://stackoverflow.com/questions/2333424/distributing-git-configuration-with-the-code/2354278#2354278

My 0.02$
Philippe


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk