Boost logo

Boost :

Subject: Re: [boost] [git] Line endings in bootstrap.bat on Windows
From: Björn Pollex (bjoern.pollex_at_[hidden])
Date: 2013-11-25 03:53:04


On Mon, Nov 25, 2013 at 9:13 AM, Philippe Vaucher <
philippe.vaucher_at_[hidden]> wrote:

> > 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...
>
>
Setting autocrlf = false did indeed fix that problem. Line endings in Git
are somewhat arcane (as indicated by the question you've linked).

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
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>

Thanks for the response!

    Björn Pollex


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