summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorLibravatar Brandon Williams <bmwill@google.com>2017-08-03 11:19:51 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-08-03 13:11:01 -0700
commit492c6c46da7847370d8ce0e6d369ae62215b6f8e (patch)
tree906e33b2e68b6da6d7fa35f4bf9219457378155a /builtin
parentsubmodule--helper: don't overlay config in update-clone (diff)
downloadtgif-492c6c46da7847370d8ce0e6d369ae62215b6f8e.tar.xz
fetch: don't overlay config with submodule-config
Don't rely on overlaying the repository's config on top of the submodule-config, instead query the repository's config directly for the fetch_recurse field. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
-rw-r--r--builtin/fetch.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/builtin/fetch.c b/builtin/fetch.c
index d84c26391c..3fe99073d3 100644
--- a/builtin/fetch.c
+++ b/builtin/fetch.c
@@ -1362,7 +1362,6 @@ int cmd_fetch(int argc, const char **argv, const char *prefix)
if (recurse_submodules != RECURSE_SUBMODULES_OFF) {
gitmodules_config();
- git_config(submodule_config, NULL);
}
if (all) {