projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e0d7a8
)
Documentation: grep: fix asciidoc problem with --
author
Christian Couder
<chriscool@tuxfamily.org>
Fri, 25 Jun 2010 02:16:24 +0000
(
04:16
+0200)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 25 Jun 2010 15:57:17 +0000
(08:57 -0700)
Asciidoc interprets two dashes separated by spaces as a single big
dash. So let's escape the first dash, so that "\--" will properly
appear as "--".
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-grep.txt
patch
|
blob
|
history
diff --git
a/Documentation/git-grep.txt
b/Documentation/git-grep.txt
index 4b32322a67d9f3de8b555d3d9d03e7ddab14e0a7..912bddd7b67bb486a703814f116a73fa047e667c 100644
(file)
--- a/
Documentation/git-grep.txt
+++ b/
Documentation/git-grep.txt
@@
-183,7
+183,7
@@
OPTIONS
Examples
--------
-git grep 'time_t' -- '*.[ch]'::
+git grep 'time_t'
\
-- '*.[ch]'::
Looks for `time_t` in all tracked .c and .h files in the working
directory and its subdirectories.