summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4e0d7a8)
raw | patch | inline | side by side (parent: 4e0d7a8)
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>
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 |
index 4b32322a67d9f3de8b555d3d9d03e7ddab14e0a7..912bddd7b67bb486a703814f116a73fa047e667c 100644 (file)
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.