From: Johannes Schindelin Date: Tue, 24 Jul 2007 13:33:04 GMT Subject: Re: [PATCH 3/3] Teach "git branch" about --new-workdir Message-ID: In-Reply-To: <46A5FDF0.3060801@trolltech.com> Hi, On Tue, 24 Jul 2007, Marius Storm-Olsen wrote: > 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