From: Junio C Hamano Date: Tue, 15 Oct 2019 04:48:00 +0000 (+0900) Subject: Merge branch 'js/fetch-jobs' X-Git-Tag: v2.24.0-rc0~28 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d96e31e3902d615c03471c8566ce89872c3c1a4e;p=thirdparty%2Fgit.git Merge branch 'js/fetch-jobs' "git fetch --jobs=" allowed 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= parallelize --multiple, too --- d96e31e3902d615c03471c8566ce89872c3c1a4e diff --cc Documentation/config/fetch.txt index e8cb20547c,b200634065..f11940280f --- a/Documentation/config/fetch.txt +++ b/Documentation/config/fetch.txt @@@ -70,12 -69,12 +70,22 @@@ 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, + most executions will create a very small commit-graph file on top of + the existing commit-graph file(s). Occasionally, these files will + merge and the write may take longer. Having an updated commit-graph + file helps performance of many Git commands, including `git merge-base`, + `git push -f`, and `git log --graph`. Defaults to false, unless + `feature.experimental` is true.