Re: CRLF problems with Git on Win32
- From
Steffen Prohaska <prohaska@zib.de>
- Date
- Jan 7, 2008, 12:15 UTC
- Message-ID
- <2F7A8304-A34E-4870-A877-EEBAC9D74EF9@zib.de>
- In-Reply-To
- <7vzlviymxw.fsf@gitster.siamese.dyndns.org>
On Jan 7, 2008, at 11:00 AM, Junio C Hamano wrote:
Show 6 quoted lines
> Steffen Prohaska <prohaska@zib.de> writes: > >> Per default, CRLF conversion is disabled in msysgit. > > That's interesting, as core.autocrlf was invented _specifically_ > for use on Windows.
My take on this is that is was invented for cross-platform projects.
But if you have a Windows-only project it does not make sense to convert line endings. Only if you plan to work on multiple platforms, line ending conversion makes sense. The most conservative choice is to leave content unmodified. This is true for Windows, as it is for Unix. Therefore, msysgit does not modify your content unless requested otherwise.
Steffen