diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2019-10-05 11:46:40 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-10-06 07:35:58 +0900 |
commit | d54dea77dba081770fec7707110d8480ccaf9439 (patch) | |
tree | 71d32c1695cf3ce28fd4090d19e24971db96e491 /t/t9127-git-svn-partial-rebuild.sh | |
parent | gitcli: document --end-of-options (diff) | |
download | tgif-d54dea77dba081770fec7707110d8480ccaf9439.tar.xz |
fetch: let --jobs=<n> parallelize --multiple, too
So far, `--jobs=<n>` only parallelizes submodule fetches/clones, not
`--multiple` fetches, which is unintuitive, given that the option's name
does not say anything about submodules in particular.
Let's change that. With this patch, also fetches from multiple remotes
are parallelized.
For backwards-compatibility (and to prepare for a use case where
submodule and multiple-remote fetches may need different parallelization
limits), the config setting `submodule.fetchJobs` still only controls
the submodule part of `git fetch`, while the newly-introduced setting
`fetch.parallel` controls both (but can be overridden for submodules
with `submodule.fetchJobs`).
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9127-git-svn-partial-rebuild.sh')
0 files changed, 0 insertions, 0 deletions