]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'db/doc-fetch-jobs-auto'
authorJunio C Hamano <gitster@pobox.com>
Fri, 27 Feb 2026 23:11:54 +0000 (15:11 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 27 Feb 2026 23:11:54 +0000 (15:11 -0800)
Doc update.

* db/doc-fetch-jobs-auto:
  doc: fetch: document `--jobs=0` behavior

1  2 
Documentation/fetch-options.adoc

index a0cfb50d89e2ef3d742c4644ad4713430211bfd6,b3e7d51597339f7b63ecdd344f78a79ec303f9a6..81a9d7f9bbc11db582f84b6022df01832528b24c
@@@ -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=<n>::
 -      Number of parallel children to be used for all forms of fetching.
 +`-j <n>`::
 +`--jobs=<n>`::
 +      Parallelize all forms of fetching up to _<n>_ 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