@matheusbsbs / matheus-bagliano / commits / 8b6d7924f8
Fork 0

Documentation: grep: fix asciidoc problem with --

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>

Christian Couder committed Jun 25, 2010 at 04:16 UTC 8b6d7924f865f29e625d0fbd3e1307af30e51908
1 file changed +1 -1
Documentation/git-grep.txt
+1 -1
@@ -183,7 +183,7 @@ OPTIONS
183 Examples
184 --------
185
186 -git grep 'time_t' -- '*.[ch]'::
186 +git grep 'time_t' \-- '*.[ch]'::
187 Looks for `time_t` in all tracked .c and .h files in the working
188 directory and its subdirectories.
189