summaryrefslogtreecommitdiff
path: root/builtin/mv.c
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2017-08-03 18:20:00 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-08-03 20:11:02 (GMT)
commit557a5998df19faf8641acfc5b6b1c3c2ba64dca9 (patch)
treebc5a1d5293a02c0d7b2c6bfd45b2525f67f5012a /builtin/mv.c
parent33028713206c3f59709617d8af5ba4212920a5f0 (diff)
downloadgit-557a5998df19faf8641acfc5b6b1c3c2ba64dca9.zip
git-557a5998df19faf8641acfc5b6b1c3c2ba64dca9.tar.gz
git-557a5998df19faf8641acfc5b6b1c3c2ba64dca9.tar.bz2
submodule: remove gitmodules_config
Now that the submodule-config subsystem can lazily read the gitmodules file we no longer need to explicitly pre-read the gitmodules by calling 'gitmodules_config()' so let's remove it. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/mv.c')
-rw-r--r--builtin/mv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/builtin/mv.c b/builtin/mv.c
index 94fbaaa..ffdd5f0 100644
--- a/builtin/mv.c
+++ b/builtin/mv.c
@@ -131,7 +131,6 @@ int cmd_mv(int argc, const char **argv, const char *prefix)
struct stat st;
struct string_list src_for_dst = STRING_LIST_INIT_NODUP;
- gitmodules_config();
git_config(git_default_config, NULL);
argc = parse_options(argc, argv, prefix, builtin_mv_options,