Nguyen Thai Ngoc Duy [off-list ref] writes:
2010/12/17 Junio C Hamano [off-list ref]:
quoted
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.