Skip to content

Dealing with a lot of submodules

Stefan Beller git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2submodule--helper: initial clone learns retry logicbuiltin/submodule--helper.c+33 -75 replies
2/2submodule update: continue when a clone failsgit-submodule.sh+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Dealing with a lot of submodules

We have a test repo with about 500 submodules, and I noticed some problems when cloning this repo. This is a series that helps dealing with that repo in two ways:

* When having 500 submodules, you have to perform 500 clones. This makes an ephemeral error 500 times more likely. To cope with such errors, just try again after all other clones have finished.

* If a recursive clone fails for another reason (in our case a missing .gitmodules file), we want to keep going to finish the clone, instead of failing.

Thanks,
Stefan

Stefan Beller (2):
submodule--helper: initial clone learns retry logic submodule update: continue when a clone fails

 builtin/submodule--helper.c | 44 ++++++++++++++++++++++++++++++++++++--------
 git-submodule.sh            |  2 +-
 2 files changed, 37 insertions(+), 9 deletions(-)
Signature · 1 line
2.9.0.rc2.368.gdadd65c