Re: CRLF problems with Git on Win32
From: Peter Karlsson <hidden>
Date: 2016-06-15 22:44:02
Steffen Prohaska:
Per default, CRLF conversion is disabled in msysgit. Git should not convert a single file. Does it really convert some?
I didn't verify, but it was only some files that had LFs, perhaps the files that I added while on the Windows machine had CRLFs. That's bad. Peter Klavins:
Visual Studio in fact happily works with files that only have lf endings, _except_ *.sln and *.vcproj files, which it much prefers to have with cr/lf endings.
The project files were added to the repository on the Windows box (obviously), so those are correct. So apparently my repository is a bit broken at the moment with LF on some files and CRLF on some. That's bad. I just assumed everything worked, it used to "just work" for CVS (except for when you actually tried to add binary files, of course). -- \\// Peter - http://www.softwolves.pp.se/