Re: Fwd: Possibly nicer pathspec syntax?
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Feb 8, 2017, 05:12 UTC
- Message-ID
- <alpine.LFD.2.20.1702072112160.25002@i7.lan>
- In-Reply-To
- <xmqq4m05xph4.fsf@gitster.mtv.corp.google.com>
On Tue, 7 Feb 2017, Junio C Hamano wrote:
> > + // Special case alias for '!' > > /* style? */
Will fix.
Show 7 quoted lines
> I somehow do not think this is correct. I expect > > cd t && git grep -e foo -- :^perf/ > > to look into things in 't' except for things in 't/perf', but the > above will grab hits from ../Documentation/ etc. We need to pay > attention to PATHSPEC_PREFER_CWD bit in the flags word, I think.
Ok, that's easy enough.
Two-patch series to follow.
Linus