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

Re: [RFR] gitattributes(5) documentation

From: David Lang <hidden>
Date: 2016-06-15 22:43:06

Possibly related (same subject, not in this thread)

On Thu, 19 Apr 2007, Junio C Hamano wrote:
Set to string value "input"::

	This is similar to setting the attribute to `true`, but
	also forces git to act as if `core.autocrlf` is set to
	`input` for the path.

Any other value set to `crlf` attribute is ignored and git acts
as if the attribute is left unspecified.
I think that a better option would be that if it's set to a string value, that 
string value is treated as if core.autocrlf was set to that value.

in the long run this would let you phase out the core.autocrlf option entirely, 
letting the bahavior be specified in gitattributes.

David Lang
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help