Subject: Re: What's cooking extra

From: Clemens Buchacher <[email-masked]>
Date: Mon, 24 May 2010 22:56:12 +0200

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.