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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Finn Arne Gangstad
Date: Sunday, May 9, 2010 - 2:21 am

On Sun, May 09, 2010 at 12:53:17AM +0200, Eyvind Bernhardsen wrote:

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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH/RFC v2 0/4] End-of-line normalization, take 2 (now ..., Eyvind Bernhardsen, (Sat May 8, 2:46 pm)
[PATCH/RFC v2 2/4] Add tests for per-repository eol normal ..., Eyvind Bernhardsen, (Sat May 8, 2:46 pm)
[PATCH/RFC v2 3/4] Pass eol conv mode as an argument inste ..., Eyvind Bernhardsen, (Sat May 8, 2:46 pm)
[PATCH/RFC v2 4/4] Add per-repository eol normalization, Eyvind Bernhardsen, (Sat May 8, 2:46 pm)
Re: [PATCH/RFC v2 1/4] Add "core.eolStyle" variable to con ..., Finn Arne Gangstad, (Sun May 9, 2:21 am)