Re: git-grep: small suggestion, -w flag

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

 



* René Scharfe <rene.scharfe@xxxxxxxxxxxxxx> 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
--
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]

  Powered by Linux