Re: CRLF problems with Git on Win32
- From
Steffen Prohaska <prohaska@zib.de>
- Date
- Jan 9, 2008, 12:41 UTC
- Message-ID
- <04EF2652-9AA8-4976-903F-DBE4E7AA13D7@zib.de>
- In-Reply-To
- <alpine.LSU.1.00.0801091054400.31053@racer.site>
On Jan 9, 2008, at 11:56 AM, Johannes Schindelin wrote:
Show 23 quoted lines
> Hi, > > On Tue, 8 Jan 2008, Peter Karlsson wrote: > >> Linus Torvalds: >> >>> 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