Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH/RFC 0/3] Per-repository end-of-line normalization

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:48:46

Linus Torvalds [off-list ref] writes:
On Fri, 7 May 2010, Junio C Hamano wrote:
quoted
Eyvind Bernhardsen [off-list ref] writes:
quoted
- An attribute called "auto-eol" is set in the repository to turn on
  normalization of line endings.  Since attributes are content, the
  setting is copied when the repository is cloned and can be changed in
  an existing repository (with a few caveats).  Setting this attribute
  is equivalent to setting "core.autocrlf" to "input" or "true".
In what way is this attribute different from existing "crlf" attribute?
The existing crlf attribute is a no-op _unless_ core.autocrlf is set, 
isn't it?

The whole point of Eyvind's series is to be able to set crlf attributes 
without having to set the config option - because he wants to make sure 
that a new clone always gets the proper crlf handling without users 
having to do anything extra.

And I do have to say that it makes sense.

I also do think that maybe we could just change the existing crlf 
attribute to work even without 'core.autocrlf'. 
Yes, that is exactly what I was alluding to.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help