[PATCHv4 0/9] Expose submodule parallelism to the user
- From
Stefan Beller <sbeller@google.com>
- Date
- Nov 14, 2015, 01:06 UTC
- Message-ID
- <1447463222-12589-1-git-send-email-sbeller@google.com>
This replaces sb/submodule-parallel-update. It applies on top of d075d2604c0 (Merge branch 'rs/daemon-plug-child-leak' into sb/submodule-parallel-update, with additionally having merged submodule-parallel-fetch, which has applied "run-command: detect finished children by closed pipe rather than waitpid" on top of it. Alternatively pull from github/stefanbeller/git submodule-parallel-update
* This lets you configure submodule.fetchJobs instead of previously submodule.jobs * no weird NONBLOCK thingies any more as that was handled by submodule-parallel-fetch (or the patch on top of that)
Stefan Beller (9): run_processes_parallel: delimit intermixed task output 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.jobs` 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 ++++----- run-command.c | 4 + 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 +++++ 14 files changed, 417 insertions(+), 83 deletions(-)
-- 2.6.3.369.gea52ac0