From: Junio C Hamano Date: Mon, 7 Oct 2019 02:42:12 +0000 (+0900) Subject: Merge branch 'js/fetch-jobs' into next X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e798bac35de5284f9fcfe6c787f9a2437f80c640;p=git Merge branch 'js/fetch-jobs' into next "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 --- e798bac35de5284f9fcfe6c787f9a2437f80c640 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.