Re: CRLF problems with Git on Win32
flat view
From: Steffen Prohaska <hidden>
Date: 2016-06-15 22:44:03
On Jan 9, 2008, at 11:56 AM, Johannes Schindelin wrote:
Hi, On Tue, 8 Jan 2008, Peter Karlsson wrote:quoted
Linus Torvalds:quoted
So defaulting to (or asking) "autocrlf" at install time is probably the safest thing, and then people can edit their global .gitconfig to turn it off.Indeed. A checkbox in the Windows installer (like Cygwin has) would be nice.No. There are different needs for different projects, and having different defaults just adds to the confusion. I am no longer opposed to setting crlf=true by default for Git (although this does not necessarily hold true for msysGit, but that could be helped by explicitely unsetting crlf for the repositories we check out with the netinstaller).
I'll further think about "crlf=safe" (see another mail in this thread). I like the idea of safe because it guarantees that data will never be corrupted. But I have no time to think about it immediately. Steffen