]> git.99rst.org Git - git.git/commitdiff
doc: fetch: document `--jobs=0` behavior
authorDaniel D. Beck <redacted>
Wed, 18 Feb 2026 19:32:39 +0000 (19:32 +0000)
committerJunio C Hamano <redacted>
Thu, 19 Feb 2026 17:36:59 +0000 (09:36 -0800)
In c39952b92 (fetch: choose a sensible default with --jobs=0 again,
2023-02-20), the `--jobs=0` behavior was (re)introduced, but it went
undocumented. Since this is the same behavior as `git -c fetch.parallel=0
fetch`, which is documented, this change creates symmetry between the two
documentation sections.

Signed-off-by: Daniel D. Beck <redacted>
Signed-off-by: Junio C Hamano <redacted>
Documentation/fetch-options.adoc

index b01372e4b3c6595beb2e16d53322b08c09291c90..b3e7d51597339f7b63ecdd344f78a79ec303f9a6 100644 (file)
@@ -228,6 +228,8 @@ endif::git-pull[]
 --jobs=<n>::
        Number of parallel children to be used for all forms of fetching.
 +
+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
git clone https://git.99rst.org/PROJECT