Re: [PATCH 07/10] submodule: migrate get_next_submodule to use repository structs

2018-10-26 Thread Jonathan Tan
> 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 patch tightens the check upfront, such that we do not need > to spawn a child process to find

[PATCH 07/10] submodule: migrate get_next_submodule to use repository structs

2018-10-25 Thread Stefan Beller
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 patch tightens the check upfront, such that we do not need to spawn a child process to find out if the