Re: git-grep: small suggestion, -w flag
* René Scharfe <rene.scharfe@lsrfire.ath.cx> wrote:
Show 9 quoted lines
> 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