Thread (5 messages) flat view 5 messages, 3 authors, 2016-06-15

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

From: Ingo Molnar <hidden>
Date: 2016-06-15 22:46:15

* René Scharfe [off-list ref] wrote:
Ingo Molnar schrieb:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help