summaryrefslogtreecommitdiff
path: root/t/helper/test-tool.c
diff options
context:
space:
mode:
authorLibravatar Stefan Beller <sbeller@google.com>2018-11-28 16:27:54 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-12-05 11:42:32 +0900
commit26f80ccfc15bb1e591b634173bdb7092da33da12 (patch)
tree5558b56ef7128a00423101fc8b6107f194702197 /t/helper/test-tool.c
parentrepository: repo_submodule_init to take a submodule struct (diff)
downloadtgif-26f80ccfc15bb1e591b634173bdb7092da33da12.tar.xz
submodule: migrate get_next_submodule to use repository structs
We used to recurse into submodules, even if they were broken having only an objects directory. The child process executed in the submodule would fail though if the submodule was broken. This is tested via "fetching submodule into a broken repository" in t5526. This patch tightens the check upfront, such that we do not need to spawn a child process to find out if the submodule is broken. Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-tool.c')
0 files changed, 0 insertions, 0 deletions