Re: [PATCH 3/3] Teach "git branch" about --new-workdir
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jul 24, 2007, 13:33 UTC
- Message-ID
- <Pine.LNX.4.64.0707241431540.14781@racer.site>
- In-Reply-To
- <46A5FDF0.3060801@trolltech.com>
Hi,
On Tue, 24 Jul 2007, Marius Storm-Olsen wrote:
Show 12 quoted lines
> So, it's look like this ('yes' mean CRLF EOL):
> Repo | Working dir | Convert EOL?
> ---------------------------------
> 1) - LF no
> 2) - CRLF yes
> 3) LF LF no
> 4) LF CRLF yes
> 5) CRLF LF no
> 6) CRLF CRLF yes
>
> The problem is that currently 6) is 'yes', and turns the file into a LF file,
> which it shouldn't.Shouldn't it? But then you should set core.autocrlf = false, no?
AFAIU the purpose of autocrlf is to _always_ have UNIX line endings in the checked in stuff.
Ciao, Dscho