From: James Pickens Date: Tue, 01 Mar 2011 18:31:12 GMT Subject: Re: [PATCH/alternative/raw and rough] setup.c: denote repo wide pathspecs by ':' Message-ID: In-Reply-To: <7vsjv6evy4.fsf@alter.siamese.dyndns.org> Junio C Hamano wrote: > On the other hand, it is natural to expect that > >    $ git grep -e frotz ".../*.txt" > > should find *.txt files _only_ at the root level, so it is not as useful as > the --full-tree (or --root). I've often wished Git supported the zsh '**' wildcard to match anything, including slashes. Here's another case where it would be useful - to match *.txt everywhere, you'd use ".../**.txt", and it leaves you the option of using ".../*.txt" if you really want to find *.txt only at the root level. Of course, it may be very difficult to implement... James