author | Junio C Hamano <gitster@pobox.com> | |
Mon, 8 Feb 2010 20:12:41 +0000 (12:12 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 8 Feb 2010 20:12:41 +0000 (12:12 -0800) | ||
commit | bf7cbb2f043e4a989dacebe381841bcdbd75588b | |
tree | 3f6ec7b892fc38272e484dd31f67c1b2ab852a71 | tree | snapshot |
parent | 921177f50fe107a5807baf7e2f63177a86945a60 | commit | diff |
git-add documentation: Fix shell quoting example
When 921177f (Documentation: improve "add", "pull" and "format-patch"
examples, 2008-05-07) converted this from enumeration header to displayed
text, it failed to adjust for the AsciiDoc's rule to quote backslashes.
In displayed text, backslash is shown verbatim, while in enumeration
header, we need to double it.
We have a similar construct in git-rm.txt documentation, and need to be
careful when somebody wants to update it to match the style of the "git
add" example.
Noticed by: Greg Bacon <gbacon@dbresearch.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
When 921177f (Documentation: improve "add", "pull" and "format-patch"
examples, 2008-05-07) converted this from enumeration header to displayed
text, it failed to adjust for the AsciiDoc's rule to quote backslashes.
In displayed text, backslash is shown verbatim, while in enumeration
header, we need to double it.
We have a similar construct in git-rm.txt documentation, and need to be
careful when somebody wants to update it to match the style of the "git
add" example.
Noticed by: Greg Bacon <gbacon@dbresearch.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-add.txt | diff | blob | history |