aboutsummaryrefslogtreecommitdiff
path: root/submodule.c
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2017-08-03 11:19:59 -0700
committerJunio C Hamano <gitster@pobox.com>2017-08-03 13:11:02 -0700
commit33028713206c3f59709617d8af5ba4212920a5f0 (patch)
treeeaa8c255df1030785161a89fd391b10afee5c9dd /submodule.c
parentff6f1f564c48def1f8e1852826bab58af5044b06 (diff)
downloadgit-33028713206c3f59709617d8af5ba4212920a5f0.tar.gz
git-33028713206c3f59709617d8af5ba4212920a5f0.tar.xz
unpack-trees: improve loading of .gitmodules
When recursing submodules 'check_updates()' needs to have strict control over the submodule-config subsystem to ensure that the gitmodules file has been read before checking cache entries which are marked for removal as well ensuring the proper gitmodules file is read before updating cache entries. Because of this let's not rely on callers of 'check_updates()' to read the gitmodules file before calling 'check_updates()' and handle the reading explicitly. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'submodule.c')
0 files changed, 0 insertions, 0 deletions