Skip to content

expose parallelism for submodule {update, clone}

Stefan Beller git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3git submodule update: have a dedicated helper for cloningbuiltin/submodule--helper.c git-submodule.sh t/t7400-submodule-basic.sh+238 -360 replies
2/3submodule update: Expose parallelism to the userDocumentation/git-submodule.txt builtin/submodule--helper.c git-submodule.sh+27 -50 replies
3/3clone: Allow an explicit argument for parallel submodule clonesDocumentation/git-clone.txt builtin/clone.c+21 -71 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] expose parallelism for submodule {update, clone}

This goes on top of origin/sb/submodule-parallel-fetch^
The first patch replaces the last patch of origin/sb/submodule-parallel-fetch using clearer names for the callback functions.

The patches 2 and 3 introduce CLI options for {submodule update, clone} to instruct Git to be parallel for cloning submodule operations.

Additionally git submodule update respects the config option "submodule.jobs".

I also want to make "git fetch --recurse-submodules" and "git clone --recursive" respect the same "submodule.jobs" config option, but that code change would collide with origin/sb/submodule-config-parse, so I will put the patches on top of that.

Stefan Beller (3):
git submodule update: have a dedicated helper for cloning submodule update: Expose parallelism to the user
clone: Allow an explicit argument for parallel submodule clones

 Documentation/git-clone.txt     |   5 +-
 Documentation/git-submodule.txt |   6 +-
 builtin/clone.c                 |  23 ++--
 builtin/submodule--helper.c     | 234 ++++++++++++++++++++++++++++++++++++++++
 git-submodule.sh                |  54 ++++------
 t/t7400-submodule-basic.sh      |   4 +-
 6 files changed, 282 insertions(+), 44 deletions(-)
Signature · 1 line
2.6.2.280.g74301d6