summaryrefslogtreecommitdiff
path: root/Documentation/config/fetch.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-10-15 04:48:00 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-10-15 04:48:00 (GMT)
commitd96e31e3902d615c03471c8566ce89872c3c1a4e (patch)
treeaade0139ba77e60f9c7f6445f2ac91225fca2e4d /Documentation/config/fetch.txt
parent280bd445515acffb83231dfee79c21719ad3bc7b (diff)
parentd54dea77dba081770fec7707110d8480ccaf9439 (diff)
downloadgit-d96e31e3902d615c03471c8566ce89872c3c1a4e.zip
git-d96e31e3902d615c03471c8566ce89872c3c1a4e.tar.gz
git-d96e31e3902d615c03471c8566ce89872c3c1a4e.tar.bz2
Merge branch 'js/fetch-jobs'
"git fetch --jobs=<n>" allowed <n> parallel jobs when fetching submodules, but this did not apply to "git fetch --multiple" that fetches from multiple remote repositories. It now does. * js/fetch-jobs: fetch: let --jobs=<n> parallelize --multiple, too
Diffstat (limited to 'Documentation/config/fetch.txt')
-rw-r--r--Documentation/config/fetch.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/config/fetch.txt b/Documentation/config/fetch.txt
index e8cb205..f119402 100644
--- a/Documentation/config/fetch.txt
+++ b/Documentation/config/fetch.txt
@@ -70,6 +70,16 @@ fetch.showForcedUpdates::
linkgit:git-fetch[1] and linkgit:git-pull[1] commands.
Defaults to true.
+fetch.parallel::
+ Specifies the maximal number of fetch operations to be run in parallel
+ at a time (submodules, or remotes when the `--multiple` option of
+ linkgit:git-fetch[1] is in effect).
++
+A value of 0 will give some reasonable default. If unset, it defaults to 1.
++
+For submodules, this setting can be overridden using the `submodule.fetchJobs`
+config setting.
+
fetch.writeCommitGraph::
Set to true to write a commit-graph after every `git fetch` command
that downloads a pack-file from a remote. Using the `--split` option,