diff options
author | Brandon Williams <bmwill@google.com> | 2017-08-03 20:20:00 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-08-03 22:11:02 +0200 |
commit | 557a5998df19faf8641acfc5b6b1c3c2ba64dca9 (patch) | |
tree | bc5a1d5293a02c0d7b2c6bfd45b2525f67f5012a /builtin/mv.c | |
parent | unpack-trees: improve loading of .gitmodules (diff) | |
download | git-557a5998df19faf8641acfc5b6b1c3c2ba64dca9.tar.xz git-557a5998df19faf8641acfc5b6b1c3c2ba64dca9.zip |
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.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/builtin/mv.c b/builtin/mv.c index 94fbaaa5da..ffdd5f01a1 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, |