Re: Consequences of CRLF in index?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 27, 2017, 01:05 UTC
- Message-ID
- <xmqqh8ule6yc.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <CAEVs+zbq_zcYjyoCPE=W3LuQxAtRz8G+qLXA31jUiw+b4A4kSg@mail.gmail.com>
Ross Kabus <rkabus@aerotech.com> writes:
Show 5 quoted lines
> 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".