aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorDaniel D. Beck <daniel@ddbeck.com>2026-02-18 19:32:39 +0000
committerJunio C Hamano <gitster@pobox.com>2026-02-19 09:36:59 -0800
commit143e84958cb0209947a56d656c8e947d736dd4ab (patch)
tree53ba0c395dc464e16329e0da9cf637b08ad80174 /Documentation
parent16bd9f20a403117f2e0d9bcda6c6e621d3763e77 (diff)
downloadgit-143e84958cb0209947a56d656c8e947d736dd4ab.tar.xz
doc: fetch: document `--jobs=0` behavior
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 <daniel@ddbeck.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/fetch-options.adoc2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/fetch-options.adoc b/Documentation/fetch-options.adoc
index b01372e4b3..b3e7d51597 100644
--- a/Documentation/fetch-options.adoc
+++ b/Documentation/fetch-options.adoc
@@ -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