Re: [PATCH 10/21] tree_entry_interesting(): fix depth limit with overlapping pathspecs
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Dec 17, 2010, 10:05 UTC
- Message-ID
- <AANLkTi=4vnitj-U5M+V_ALVpAk0ncMG=09aAEqA=KD41@mail.gmail.com>
- In-Reply-To
- <7vmxo5l2g4.fsf@alter.siamese.dyndns.org>
2010/12/17 Junio C Hamano <gitster@pobox.com>:
> One thing I am not clear is what it means to limit the recursion level > when you have wildcards.
Recursion level does not affect wildcards at all. That was original design, a91f453 (grep: Add --max-depth option. - 2009-07-22). I think current git-grep still follows that.
Show 6 quoted lines
> [Footnote] > > *1* In addition, perhaps you may later want to introduce some "negative" > match operators to pathspecs; while I am not particularly fond of that > direction at this moment, I would like to leave the door open for that > possibility, in case it turns out to be a good thing to have.
It's a essential thing for narrow clone, otherwise I can't widen a narrow clone. But narrow clone must prove it's a good thing to have first..
-- Duy