bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: [bug-patch] Re: patch troubles with CRLF's again


From: Andreas Gruenbacher
Subject: Re: [bug-patch] Re: patch troubles with CRLF's again
Date: Tue, 17 Mar 2009 00:27:35 +0100
User-agent: KMail/1.9.9

On Monday, 16 March 2009 22:52:13 Karl Berry wrote:
>     we would still end up with mixed line endings in new vs. existing
>     files.
>
> Yes, I understand, but at least the results are comprehensible, and I
> think in nearly all cases, the results are what are actually desired.
> IMHO.
>
>     Requiring to turn off the trailing CR heuristic
>     explicitly on the command line prevents this aberration.
>
> So in those few cases where people want to force line endings one way or
> the other, they can specify an option.

Let me restate: I want patch to default to native line endings on each platform 
unless instructed to take patches literally (--binary), in which case no 
transformation happens. That way the common case will work, there will be fewer 
surprises because there is less guessing, and patch won't thwart attempts to 
achieve non-standard behaviors, either.

Thanks,
Andreas


reply via email to

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