aboutsummaryrefslogtreecommitdiff
path: root/merge-tree.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@osdl.org>2006-09-14 10:45:12 -0700
committerJunio C Hamano <junkio@cox.net>2006-09-14 11:46:11 -0700
commit7977f0ea53fad7103c83e5bd61777da27451f1d6 (patch)
tree5f67ed25cb9a4d1cf6d23e381aac47cf588bfa8d /merge-tree.c
parent38529e28a4f465ad5d5f2fa249ca17da680bac5f (diff)
downloadgit-7977f0ea53fad7103c83e5bd61777da27451f1d6.tar.gz
git-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 'merge-tree.c')
0 files changed, 0 insertions, 0 deletions