Re: [PATCH/alternative/raw and rough] setup.c: denote repo wide pathspecs by ':'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Junio C Hamano <gitster@xxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]