From: Junio C Hamano Date: Tue, 16 Feb 2010 02:03:48 GMT Subject: Re: [PATCHv2] grep documentation: clarify what files match Message-ID: <7vfx52rl6j.fsf@alter.siamese.dyndns.org> In-Reply-To: <1266279940-13251-1-git-send-email-lodatom@gmail.com> Mark Lodato writes: > Clarify that git-grep(1) searches only tracked files, and that each > 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 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 and reference git-add(1) for now. > > Signed-off-by: Mark Lodato > --- 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.