diff options
author | Linus Torvalds <torvalds@osdl.org> | 2006-09-14 10:45:12 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-09-14 11:46:11 -0700 |
commit | 7977f0ea53fad7103c83e5bd61777da27451f1d6 (patch) | |
tree | 5f67ed25cb9a4d1cf6d23e381aac47cf588bfa8d /pack-redundant.c | |
parent | Trivial support for cloning and fetching via ftp://. (diff) | |
download | tgif-7977f0ea53fad7103c83e5bd61777da27451f1d6.tar.xz |
Add "-h/-H" parsing to "git grep"
It turns out that I actually wanted to avoid the filenames (because I
didn't care - I just wanted to see the context in which something was
used) when doing a grep. But since "git grep" didn't take the "-h"
parameter, I ended up having to do "grep -5 -h *.c" instead.
So here's a trivial patch that adds "-h" (and thus has to enable -H too)
to "git grep" parsing.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'pack-redundant.c')
0 files changed, 0 insertions, 0 deletions