summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0441601)
raw | patch | inline | side by side (parent: 0441601)
author | Mark Lodato <lodatom@gmail.com> | |
Fri, 26 Feb 2010 03:40:11 +0000 (22:40 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 26 Feb 2010 06:39:12 +0000 (22:39 -0800) |
The convention for this particular page is to use AsciiDoc literal
strings only for options (`-x` or `--long`), but not for definition list
terms and not for <meta-vars>.
Signed-off-by: Mark Lodato <lodatom@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
strings only for options (`-x` or `--long`), but not for definition list
terms and not for <meta-vars>.
Signed-off-by: Mark Lodato <lodatom@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-grep.txt | patch | blob | history |
index ae663b0210f19daed41d31455b9868920d72d2c3..2e161306e43582fecd6994f596fa47b796075ddd 100644 (file)
--files-without-match::
Instead of showing every matched line, show only the
names of files that contain (or do not contain) matches.
- For better compatibility with 'git diff', --name-only is a
- synonym for --files-with-matches.
+ For better compatibility with 'git diff', `--name-only` is a
+ synonym for `--files-with-matches`.
-z::
--null::
matches.
-<num>::
- A shortcut for specifying -C<num>.
+ A shortcut for specifying `-C<num>`.
-p::
--show-function::
-e::
The next parameter is the pattern. This option has to be
- used for patterns starting with - and should be used in
+ used for patterns starting with `-` and should be used in
scripts passing user input to grep. Multiple patterns are
combined by 'or'.
Do not output matched lines; instead, exit with status 0 when
there is a match and with non-zero status when there isn't.
-`<tree>...`::
+<tree>...::
Search blobs in the trees for specified patterns.
\--::