From: Junio C Hamano Date: Fri, 27 Feb 2026 23:11:54 +0000 (-0800) Subject: Merge branch 'db/doc-fetch-jobs-auto' X-Git-Tag: v2.54.0-rc0~149 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4416ec1ae3cc431e2c441410ebee7da3e87fb66d;p=thirdparty%2Fgit.git Merge branch 'db/doc-fetch-jobs-auto' Doc update. * db/doc-fetch-jobs-auto: doc: fetch: document `--jobs=0` behavior --- 4416ec1ae3cc431e2c441410ebee7da3e87fb66d diff --cc Documentation/fetch-options.adoc index a0cfb50d89,b3e7d51597..81a9d7f9bb --- a/Documentation/fetch-options.adoc +++ b/Documentation/fetch-options.adoc @@@ -245,14 -220,16 +245,16 @@@ both unpopulated and changed are fetche are never fetched. + When unspecified, this uses the value of `fetch.recurseSubmodules` if it -is set (see linkgit:git-config[1]), defaulting to 'on-demand' if unset. -When this option is used without any value, it defaults to 'yes'. +is set (see linkgit:git-config[1]), defaulting to `on-demand` if unset. +When this option is used without any value, it defaults to `yes`. endif::git-pull[] --j:: ---jobs=:: - Number of parallel children to be used for all forms of fetching. +`-j `:: +`--jobs=`:: + Parallelize all forms of fetching up to __ jobs at a time. + + A value of 0 will use some reasonable default. + + If the `--multiple` option was specified, the different remotes will be fetched in parallel. If multiple submodules are fetched, they will be fetched in parallel. To control them independently, use the config settings