From: Ingo Molnar <mingo@elte.hu>
To: "René Scharfe" <rene.scharfe@lsrfire.ath.cx>
Cc: git@vger.kernel.org
Subject: Re: git-grep: small suggestion, -w flag
Date: Sun, 22 Feb 2009 17:14:10 +0100 [thread overview]
Message-ID: <20090222161410.GA24886@elte.hu> (raw)
In-Reply-To: <49A133C9.2030601@lsrfire.ath.cx>
* René Scharfe <rene.scharfe@lsrfire.ath.cx> wrote:
> Ingo Molnar schrieb:
> > Here's a stupid little git-grep suggestion.
> >
> > I recently transitioned from the use of egrep to git-grep, and i
> > like it very much (it nicely excludes build related files,
> > etc.), but there's one small detail: the lack of the -w flag.
>
> git grep knows this flag since version 1.4.1. Does it do
> something different from egrep's?
ah:
earth4:~/tip> git grep -lw schedule
usage: git grep <option>* [-e] <pattern> <rev>* [[--] <path>...]
should have been 'git grep -l -w schedule'.
Ingo
next prev parent reply other threads:[~2009-02-22 16:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-22 10:34 git-grep: small suggestion, -w flag Ingo Molnar
2009-02-22 11:15 ` René Scharfe
2009-02-22 16:14 ` Ingo Molnar [this message]
2009-02-22 17:20 ` Miklos Vajna
2009-02-22 17:23 ` Ingo Molnar
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=20090222161410.GA24886@elte.hu \
--to=mingo@elte.hu \
--cc=git@vger.kernel.org \
--cc=rene.scharfe@lsrfire.ath.cx \
/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.