summaryrefslogtreecommitdiff
path: root/tree-diff.c
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2018-11-28 16:27:54 -0800
committerJunio C Hamano <gitster@pobox.com>2018-12-05 11:42:32 +0900
commit26f80ccfc15bb1e591b634173bdb7092da33da12 (patch)
tree5558b56ef7128a00423101fc8b6107f194702197 /tree-diff.c
parentd5498e087175ad7bbb0460a40cfb55cc3726226d (diff)
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 'tree-diff.c')
0 files changed, 0 insertions, 0 deletions