summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d48ffdb)
raw | patch | inline | side by side (parent: d48ffdb)
author | Junio C Hamano <junkio@cox.net> | |
Sat, 16 Sep 2006 01:37:01 +0000 (18:37 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 16 Sep 2006 01:37:01 +0000 (18:37 -0700) |
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-grep.txt | patch | blob | history |
index 7545dd9a3e6c3cc16fd46e44830af4767978d2be..d8af4d961b83e362b83f25b21d40f9d54ed4bc11 100644 (file)
[verse]
'git-grep' [--cached]
[-a | --text] [-I] [-i | --ignore-case] [-w | --word-regexp]
- [-v | --invert-match] [--full-name]
+ [-v | --invert-match] [-h|-H] [--full-name]
[-E | --extended-regexp] [-G | --basic-regexp] [-F | --fixed-strings]
[-n] [-l | --files-with-matches] [-L | --files-without-match]
[-c | --count]
-v | --invert-match::
Select non-matching lines.
+-h | -H::
+ By default, the command shows the filename for each
+ match. `-h` option is used to suppress this output.
+ `-H` is there for completeness and does not do anything
+ except it overrides `-h` given earlier on the command
+ line.
+
--full-name::
When run from a subdirectory, the command usually
outputs paths relative to the current directory. This