Christian Couder  committed 8b6d792

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 <>
Signed-off-by: Junio C Hamano <>

  • Participants
  • Parent commits 4e0d7a8
  • Branches master

Comments (0)

Files changed (1)

File Documentation/git-grep.txt

-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.