diff options
author | Stefan Beller <sbeller@google.com> | 2018-11-29 03:27:54 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-12-05 05:42:32 +0300 |
commit | 26f80ccfc15bb1e591b634173bdb7092da33da12 (patch) | |
tree | 5558b56ef7128a00423101fc8b6107f194702197 /decorate.h | |
parent | d5498e087175ad7bbb0460a40cfb55cc3726226d (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 'decorate.h')
0 files changed, 0 insertions, 0 deletions