Re: CRLF problems with Git on Win32
- From
Peter Karlsson <peter@softwolves.pp.se>
- Date
- Jan 7, 2008, 13:50 UTC
- Message-ID
- <Pine.LNX.4.64.0801071447320.1864@ds9.cixit.se>
- In-Reply-To
- <flsu0r$m9p$1@ger.gmane.org>
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/