Re: [PATCH master] convert: The native line-ending is \r\n on MinGW
- From
Ramsay Jones <ramsay@ramsay1.demon.co.uk>
- Date
- Sep 25, 2010, 17:14 UTC
- Message-ID
- <4C9E2E06.1010909@ramsay1.demon.co.uk>
- In-Reply-To
- <7vbp8aqtuz.fsf@alter.siamese.dyndns.org>
Junio C Hamano wrote:
> Jonathan Nieder <jrnieder@gmail.com> writes: >
Show 13 quoted lines
>> >>> Introduce a new configuration variable, "core.eol", that allows the user >>> to set which line endings to use for end-of-line-normalized files in the >>> working directory. It defaults to "native", which means CRLF on Windows >>> and LF everywhere else. >> The following fixup has been sitting in my tree (but not tested on >> Windows) for a couple of weeks. Sensible? >> >> I don't know what the right choice for Cygwin is; probably LF unless >> there is some way to detect the systemwide setting at run time. > > Has anybody in Windows land any input? I don't think what I do before > 1.7.3 in my tree would matter much, so I am not applying this myself.
Sorry for the late reply to this; I've only just noticed that I hadn't replied! ;-)
FWIW, I suspect that anything other than LF as the eol on Cygwin would be *insane*. ;-D
ATB, Ramsay Jones