Thread (32 messages) flat view 32 messages, 7 authors, 2016-06-15

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

From: Finn Arne Gangstad <hidden>
Date: 2016-06-15 22:48:46

On Sun, May 09, 2010 at 12:53:17AM +0200, Eyvind Bernhardsen wrote:
On 9. mai 2010, at 00.17, Eyvind Bernhardsen 
[off-list ref] wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help