diff options
author | Brandon Williams <bmwill@google.com> | 2017-08-03 11:20:00 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-08-03 13:11:02 -0700 |
commit | 557a5998df19faf8641acfc5b6b1c3c2ba64dca9 (patch) | |
tree | bc5a1d5293a02c0d7b2c6bfd45b2525f67f5012a /builtin/commit.c | |
parent | unpack-trees: improve loading of .gitmodules (diff) | |
download | tgif-557a5998df19faf8641acfc5b6b1c3c2ba64dca9.tar.xz |
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/commit.c')
-rw-r--r-- | builtin/commit.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/builtin/commit.c b/builtin/commit.c index 4bbac014ab..18ad714d95 100644 --- a/builtin/commit.c +++ b/builtin/commit.c @@ -195,7 +195,6 @@ static void determine_whence(struct wt_status *s) static void status_init_config(struct wt_status *s, config_fn_t fn) { wt_status_prepare(s); - gitmodules_config(); git_config(fn, s); determine_whence(s); init_diff_ui_defaults(); |