Re: [PATCHv7 5/5] pathspec: allow querying for attributes
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 18, 2016, 20:00 UTC
- Message-ID
- <xmqq37pfrv9y.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <xmqq7ferrvvd.fsf@gitster.mtv.corp.google.com>
Junio C Hamano <gitster@pobox.com> writes:
Just this part:
> The last part "set, unset or value matches" does not make sense, > though.
I re-read the line and I think you meant
?VAR makes a path match if VAR attribute is set, set to false,
or set to value for the pathand I shouldn't have read it as a 3-tuple ("set", "unset", "value matches"), but as a 3-tuple ("set", "unset", "value"). That is,
A path (whose attribute state is one of these three) matches.
So I retract "does not make sense"; it still is "hard to grok", though.