path: root/Documentation/git-add.txt
diff options
authorJunio C Hamano <>2010-02-08 20:12:41 (GMT)
committerJunio C Hamano <>2010-02-08 20:12:41 (GMT)
commitbf7cbb2f043e4a989dacebe381841bcdbd75588b (patch)
tree3f6ec7b892fc38272e484dd31f67c1b2ab852a71 /Documentation/git-add.txt
parent921177f50fe107a5807baf7e2f63177a86945a60 (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 <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'Documentation/git-add.txt')
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt
index 2eabbc8..f14319a 100644
--- a/Documentation/git-add.txt
+++ b/Documentation/git-add.txt
@@ -103,7 +103,7 @@ EXAMPLES
and its subdirectories:
-$ git add Documentation/\\*.txt
+$ git add Documentation/\*.txt
Note that the asterisk `\*` is quoted from the shell in this