From: Junio C Hamano Date: Fri, 17 Dec 2010 20:02:40 GMT Subject: Re: [PATCH 10/21] tree_entry_interesting(): fix depth limit with overlapping pathspecs Message-ID: <7vsjxwi2vz.fsf@alter.siamese.dyndns.org> In-Reply-To: Nguyen Thai Ngoc Duy writes: > 2010/12/17 Junio C Hamano : >> 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. I know what the current code does, as I remember a91f453 essentially punted on coming up with a sane semantics. As this series under discussion is about coming up with a unified and sane pathspec handling across board, it would be a good opportunity to think about it again, this time without punting so fast.