Re: [PATCH 3/3] Teach "git branch" about --new-workdir

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

 



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

-
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]

  Powered by Linux