summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Ågren <martin.agren@gmail.com>2018-04-17 19:15:29 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-04-18 03:49:26 (GMT)
commit4c57a4f8fedddff474e8d1efb11003c75d088341 (patch)
tree74046a686389dba6ca09670711f953cecedf4bba
parent6955047ff48c7f2a29889d5372414756f2723049 (diff)
downloadgit-4c57a4f8fedddff474e8d1efb11003c75d088341.zip
git-4c57a4f8fedddff474e8d1efb11003c75d088341.tar.gz
git-4c57a4f8fedddff474e8d1efb11003c75d088341.tar.bz2
git-submodule.txt: quote usage in monospace, drop backslash
We tend to quote command line examples using `` to set them in a monospace font. The immediate motivation for this patch is to get rid of another instance of \--. As noted in the previous commits, \-- has a tendency of rendering badly. Here, it renders ok (at least with AsciiDoc 8.6.9 and Asciidoctor 1.5.4), but by getting rid of this instance, we reduce the chances of \-- cropping up in places where it matters more. Signed-off-by: Martin Ågren <martin.agren@gmail.com>
-rw-r--r--Documentation/git-submodule.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/git-submodule.txt b/Documentation/git-submodule.txt
index 71c5618..630999f 100644
--- a/Documentation/git-submodule.txt
+++ b/Documentation/git-submodule.txt
@@ -213,8 +213,8 @@ sync [--recursive] [--] [<path>...]::
submodule URLs change upstream and you need to update your local
repositories accordingly.
+
-"git submodule sync" synchronizes all submodules while
-"git submodule sync \-- A" synchronizes submodule "A" only.
+`git submodule sync` synchronizes all submodules while
+`git submodule sync -- A` synchronizes submodule "A" only.
+
If `--recursive` is specified, this command will recurse into the
registered submodules, and sync any nested submodules within.