Re: [PATCH/RFC v2 1/4] Add "core.eolStyle" variable to control end-of-line conversion
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 9, 2010, 17:45 UTC
- Message-ID
- <7v632x9dfk.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <CD080D38-811C-4BBF-A5CB-6B613555FE72@gmail.com>
Eyvind Bernhardsen <eyvind.bernhardsen@gmail.com> writes:
Show 5 quoted lines
> My user interface would have been: > > - an attribute "eolconv" that enables or disables line ending conversion > - a config variable "core.eolconv" that sets "eolconv" for all files where it is unset > - a config variable "core.localeol" that decides whether LF or CRLF is preferred
I am puzzled about this second item; what is its type and what is its purpose? If it is to allow project-wide default to be specified, then isn't having "* eolconv=true" in .gitattributes a much better option and is already supported by the first item?