Re: [PATCHv2] grep documentation: clarify what files match

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

 



Mark Lodato <lodatom@xxxxxxxxx> writes:

> Clarify that git-grep(1) searches only tracked files, and that each
> <path> is a glob, as in git-add(1).  Add an example to show a simple use
> case for searching all .c and .h files.
>
> The meta-variable <path> should be changed to an official term for
> a path glob, and the description for this should be in git(1), not
> git-add(1).  However, we don't yet have such an official term, so just
> use <path> and reference git-add(1) for now.
>
> Signed-off-by: Mark Lodato <lodatom@xxxxxxxxx>
> ---

Looks much better, even though I personally prefer a shorter "work tree"
and also think the official name of the stuff is "pathspec".

Will queue until an alternative materializes (if ever) ;-).

Thanks.
--
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]