summaryrefslogtreecommitdiff
path: root/Documentation/fetch-options.txt
diff options
context:
space:
mode:
authorJens Lehmann <Jens.Lehmann@web.de>2010-11-11 00:55:02 +0100
committerJunio C Hamano <gitster@pobox.com>2010-11-12 15:06:03 -0800
commitbe254a0ea99b441a6c514cb8b25cd72357383700 (patch)
tree2bd92c9b1ad1c034f5f23945a2ac19530f841bd8 /Documentation/fetch-options.txt
parent7dce19d374a37932e9d4c3a6202af407cf5114eb (diff)
downloadgit-be254a0ea99b441a6c514cb8b25cd72357383700.tar.gz
Add the 'fetch.recurseSubmodules' config setting
This new boolean option can be used to override the default for "git fetch" and "git pull", which is to not recurse into populated submodules and fetch all new commits there too. Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/fetch-options.txt')
-rw-r--r--Documentation/fetch-options.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/fetch-options.txt b/Documentation/fetch-options.txt
index 7f8d562efc..4cddfe8fa8 100644
--- a/Documentation/fetch-options.txt
+++ b/Documentation/fetch-options.txt
@@ -60,8 +60,9 @@ endif::git-pull[]
flag lets all tags and their associated objects be
downloaded.
---recurse-submodules::
- Use this option to fetch new commits of all populated submodules too.
+--[no-]recurse-submodules::
+ This option controls if new commits of all populated submodules should
+ be fetched too (see linkgit:git-config[1]).
ifndef::git-pull[]
--submodule-prefix=<path>::