From: Junio C Hamano <gitster@pobox.com>
To: Mark Lodato <lodatom@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: [PATCHv2] grep documentation: clarify what files match
Date: Mon, 15 Feb 2010 18:03:48 -0800 [thread overview]
Message-ID: <7vfx52rl6j.fsf@alter.siamese.dyndns.org> (raw)
In-Reply-To: <1266279940-13251-1-git-send-email-lodatom@gmail.com> (Mark Lodato's message of "Mon\, 15 Feb 2010 19\:25\:40 -0500")
Mark Lodato <lodatom@gmail.com> 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@gmail.com>
> ---
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.
prev parent reply other threads:[~2010-02-16 2:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-15 0:35 git-grep ignores untracked files Mark Lodato
2010-02-15 1:45 ` Junio C Hamano
2010-02-16 0:20 ` Mark Lodato
2010-02-16 0:25 ` [PATCHv2] grep documentation: clarify what files match Mark Lodato
2010-02-16 2:03 ` Junio C Hamano [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7vfx52rl6j.fsf@alter.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=lodatom@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.