lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Git patch won't apply


From: Trevor Daniels
Subject: Re: Git patch won't apply
Date: Mon, 12 Jan 2009 08:19:55 -0000


Valentin Villenave wrote Sunday, January 11, 2009 6:30 PM

By the way, one sensible addition to the CG might be to invite Windows
users to do

git config global.autocrlf = false

or something like that (by default under Windows, git converts all
line endings to crlf)

I'm not sure this is advisable, or that the assertion is correct.

Git requires only LF endings in the repository, but Windows uses CRLF natively.

If autocrlf = true, CRLF endings are converted to LF during commit and LF endings are converted to CRLF during checkout. This seems eminently sensible. This is the option I use, seemingly without problem.

Why should you want to turn this off, Valentin?

Trevor

ps BTW, Macs use just CR natively, which really screw up git for Windows users if present in the repository, although easy to fix
once understood.  Does autocrlf affect this in any way?






reply via email to

[Prev in Thread] Current Thread [Next in Thread]