On Jan 10, 10:25 am, Peter Karlsson <[EMAIL PROTECTED]> wrote: > Johannes Schindelin: > > > The problem is that MinGW behaves sanely, i.e. it does not output > > CRLF but only LF. > > Well, that is broken, since the convention on Windows is to use CRLF.
No it's not. Almost all of the editors will handle LF ok. CRLF was convention back in the DOS days, but that's not the case anymore. Also, the point of version control is to enable you to retrieve exactly the same content as someone put it in the repo. At least by default. I already had hard time figuring out why one of the open source project I track suddenly failed to build when I switched to git mirror, only to find out that git changed LF to CRLF, which that project didn't like. I just hate when some software pretends to be "too smart". As Linus said you can allways put git config --global core.autocrlf whatever, but the only acceptable default is to not perform any conversion by default.
