cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Files in repo with mixed line endings

From: Marc Hoersken <info_at_marc-hoersken.de>
Date: Sat, 13 Sep 2014 14:07:36 +0200

On 12.09.2014 um 10:25 Daniel Stenberg wrote:
> On Thu, 11 Sep 2014, Ray Satiro wrote:
>
>> Attached is a patch which changes all CRLF line endings to LF in the
>> three scripts with mixed line endings.
>
> Thanks! Diffs are really bad at handling newlines so this patch
> doesn't really apply easily - but I could still do the changes you
> identified there and I've now pushed that change.
>

But why did you apply the patch? Those files had CRLF line endings on
purpose and git automatically converting everything to CRLF is a
user-specific setting.
I personally do not like it and work with the original line endings in
order to avoid git messing up some files.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-09-13