[PATCH 0/3] expose parallelism for submodule {update, clone}
- From
Stefan Beller <sbeller@google.com>
- Date
- Oct 23, 2015, 18:44 UTC
- Message-ID
- <1445625879-30330-1-git-send-email-sbeller@google.com>
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(-)
-- 2.6.2.280.g74301d6