summaryrefslogtreecommitdiff
path: root/advice.c
diff options
context:
space:
mode:
authorLibravatar Brandon Williams <bmwill@google.com>2017-08-03 11:19:59 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-08-03 13:11:02 -0700
commit33028713206c3f59709617d8af5ba4212920a5f0 (patch)
treeeaa8c255df1030785161a89fd391b10afee5c9dd /advice.c
parentsubmodule-config: lazy-load a repository's .gitmodules file (diff)
downloadtgif-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 'advice.c')
0 files changed, 0 insertions, 0 deletions