Re: What's cooking extra

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 24. mai 2010, at 22.56, Clemens Buchacher wrote:

> On Mon, May 24, 2010 at 04:47:34PM +0400, Dmitry Potapov wrote:
> 
>> On Mon, May 24, 2010 at 11:49:05AM +0200, Clemens Buchacher wrote:
>> 
>>> With CRLF file in the repository, core.autocrlf=true and
>>> core.eol=lf,
>> 
>> I wonder if this combination should be allowed. core.autocrlf=true
>> always implied that the native EOL is CRLF.
> 
> I just did what the commit message suggested:
> 
>    If core.eol is set explicitly (including setting it to "native"), it
>    will override core.autocrlf so that
> 
>    [core]
>            autocrlf = true
>            eol = lf
> 
>    normalizes all files that look like text, but does not put CRLFs in the
>    working directory.

Right.  While technically true, this is misleading in that it implies that you will get LF line endings on all your files.

I will update the documentation to reflect that core.autocrlf is only useful if you want to work with CRLF line endings in a repository that is not normalized.  I won't be able to do that for a week or so, unfortunately.
-- 
Eyvind

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]