Re: [PATCH/RFC v2 1/4] Add "core.eolStyle" variable to control end-of-line conversion

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

 



On Sun, May 09, 2010 at 12:53:17AM +0200, Eyvind Bernhardsen wrote:
> On 9. mai 2010, at 00.17, Eyvind Bernhardsen 
> <eyvind.bernhardsen@xxxxxxxxx> wrote:
>
>> I'll try to think of a better name.
>
> Heh. How about "localcrlf={true,false,native}"?
>
> It breaks down a bit if we ever decide to support old-school-Mac-style  
> CR line endings, but at that point you're approaching the borders of  
> madness anyway.

It seems that autocrlf is currently so troublesome that most people end up
disabling it, and handling it in other ways (we certainly do).

Instead of keeping the names and trying to graft on something that is
almost backwards compatible, and forever live with names that we agree
are bad, what about:

Deprecate core.autocrlf and the crlf attribute.

Make these instead:

Configs:
core.eol = lf, crlf, native [default=native]
core.eolconversion = true, false, auto [default=unset]

Attribute:
eolconversion = true, false, auto [default=core.eolconversion]

- Finn Arne
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]