summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-12-11 10:40:59 -0800
committerJunio C Hamano <gitster@pobox.com>2015-12-11 10:41:00 -0800
commitfa41b052538840dbadbd14ca45da837a1965ae0f (patch)
tree6d0fe1b73212a7027075a4009d27cda120f30c40
parentc87eec9784c3029263ce0a7103ca4b2e59dc1b68 (diff)
parente7220c40b175561a276285e95f3fe8c7a86204f2 (diff)
downloadgit-fa41b052538840dbadbd14ca45da837a1965ae0f.tar.gz
Merge branch 'sb/doc-submodule-sync-recursive'
* sb/doc-submodule-sync-recursive: document submodule sync --recursive
-rw-r--r--Documentation/git-submodule.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/git-submodule.txt b/Documentation/git-submodule.txt
index f17687e09d..1572f058f5 100644
--- a/Documentation/git-submodule.txt
+++ b/Documentation/git-submodule.txt
@@ -237,6 +237,9 @@ sync::
+
"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.
OPTIONS
-------
@@ -364,7 +367,7 @@ the submodule itself.
for linkgit:git-clone[1]'s `--reference` and `--shared` options carefully.
--recursive::
- This option is only valid for foreach, update and status commands.
+ This option is only valid for foreach, update, status and sync commands.
Traverse submodules recursively. The operation is performed not
only in the submodules of the current repo, but also
in any nested submodules inside those submodules (and so on).