Re: [PATCH] built-in "git grep" (git grip).

From: Linus Torvalds <torvalds@osdl.org>
Date: 2006-05-03 07:23:05
On Tue, 2 May 2006, Junio C Hamano wrote:
> 
>  - The shell-script one, if you use GNU grep, accepts more
>    options to grep than what the current built-in one supports.
>    Notable ones that are missing: fixed strings (-F), patterns
>    from file (-f), count matches (-c), omit filenames (-h),
>    skipping binary files (-I, -U), files without match (-L),
>    pcre (-P), silent (-q), word expression (-w), NUL (-z).  They
>    should be easy to add if somebody cares enough, and I plan to
>    do a few myself before pushing it out to "master".

I use "-w" all the time, along with -5 or similar to get context for the 
grep.

		Linus
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Wed May 03 07:24:04 2006

This archive was generated by hypermail 2.1.8 : 2006-05-03 07:24:35 EST