[wellylug] CVS woe

David Antliff david.antliff at gmail.com
Sat Apr 4 09:41:42 NZDT 2009


On Fri, Apr 3, 2009 at 17:16, Daniel Pittman <daniel at rimspace.net> wrote:
> Especially on the Windows platform, where it loves to convert line
> endings at the drop of a hat. ;)

Git on Cygwin does a similar thing, until you work out what is going
on with autocrlf mode. I still haven't quite worked out exactly what
settings it should be using. The complicating factor is that git only
works in Cygwin if Cygwin is set to binary (not text) mode. But it
also defaults to autocrlf on. So any files you create in Cygwin (with
echo, nano, etc) are UNIX-style and git complains when adding (or
refuses, if safecrlf is on).

So far I've had autocrlf turned on, safecrlf turned off... not
entirely sure if that's the right way to go. Anyone care to comment?

I don't understand why git has to change line endings at all - can't
it just leave them as-is? Or is that because I'm using autocrlf mode?

-- David.



More information about the wellylug mailing list