Thread (1 message) 1 message, 1 author, 2017-10-27

Re: Consequences of CRLF in index?

From: Junio C Hamano <hidden>
Date: 2017-10-27 01:05:22

Ross Kabus [off-list ref] writes:
Is "* -text" in any way different than "-text" (without the * asterisk)? All
of my .gitattributes files have "-text" (no * asterisk) and I haven't noticed
any difference but could I be missing something subtle?

~Ross
A line in the .gitattibute file is of the form

	<pattern>	<attribute definition>...

i.e. a pattern to match paths, with a list of attribute definitions.
The asterisk they are showing in their description is the <pattern>
part, i.e. "apply the '-text' thing to paths that match '*'", which
is equivalent to saying "set text attribute to false for all paths".
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help