Subject: Re: [boost] [git] Line endings in bootstrap.bat on Windows
From: Dave Abrahams (dave_at_[hidden])
Date: 2013-11-27 10:56:40


Daniel James <daniel_at_[hidden]> writes:

> On 27 November 2013 07:18, Niall Douglas <s_sourceforge_at_[hidden]> wrote:
>> On 27 Nov 2013 at 7:10, Daniel James wrote:
>>
>>> On 27 November 2013 03:54, Dave Abrahams <dave_at_[hidden]> wrote:
>>> >
>>> > The conversion represents the file contents from SVN losslessly.
>>>
>>> Then the gitattributes file should probably reflect that.
>>
>> We've already had this discussion on this list several times now. The
>> way conversion is currently represents the lowest amount of data
>> loss. That's why they chose that option.
>
> I'm not saying the conversion should be changed. I'm saying that the
> gitattributes file should represent the conversion. It currently
> doesn't which is why there are problems. It's claiming that "*.bat",
> "*.svg" and "*.vsproj" files have normalised line endings, but they
> don't and that confuses git.

The .gitattributes file is part of the conversion. Its exact contents
can be changed at the cost of another conversion run.