[PATCHv7 0/8] Expose submodule parallelism to the user
- From
Stefan Beller <sbeller@google.com>
- Date
- Jan 11, 2016, 19:41 UTC
- Message-ID
- <1452541321-27810-1-git-send-email-sbeller@google.com>
This is a resend of sb/submodule-parallel-update and is available at github[1] as well. It applies on top of sb/submodule-parallel-fetch
What does it do? --- This series should finish the on going efforts of parallelizing submodule network traffic. The patches contain tests for clone fetch submodule update to use the actual parallelism both via command line as well as a configured option. I decided to go with "submodule.fetchJobs" for all three for now.
What changed to v5,6? --- No major changes, I just made it compile again as the order of parameters to the parallel processing engine changed.
Thanks, Stefan
[1] https://github.com/stefanbeller/git/tree/submodule-parallel-update-v7
Stefan Beller (8): submodule-config: keep update strategy around submodule-config: drop check against NULL submodule-config: remove name_and_item_from_var submodule-config: introduce parse_generic_submodule_config fetching submodules: respect `submodule.fetchJobs` config option 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/config.txt | 7 ++ Documentation/git-clone.txt | 6 +- Documentation/git-submodule.txt | 7 +- builtin/clone.c | 19 +++- builtin/fetch.c | 2 +- builtin/submodule--helper.c | 239 ++++++++++++++++++++++++++++++++++++++++ git-submodule.sh | 54 ++++----- submodule-config.c | 109 +++++++++++------- submodule-config.h | 3 + submodule.c | 5 + t/t5526-fetch-submodules.sh | 14 +++ t/t7400-submodule-basic.sh | 4 +- t/t7406-submodule-update.sh | 27 +++++ 13 files changed, 413 insertions(+), 83 deletions(-)
-- 2.7.0.rc1.7.gf4541cb.dirty