diff options
author | Brandon Williams <bmwill@google.com> | 2017-08-03 11:19:59 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-08-03 13:11:02 -0700 |
commit | 33028713206c3f59709617d8af5ba4212920a5f0 (patch) | |
tree | eaa8c255df1030785161a89fd391b10afee5c9dd /t/t5406-remote-rejects.sh | |
parent | submodule-config: lazy-load a repository's .gitmodules file (diff) | |
download | tgif-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 't/t5406-remote-rejects.sh')
0 files changed, 0 insertions, 0 deletions