summaryrefslogtreecommitdiff
path: root/builtin/annotate.c
diff options
context:
space:
mode:
authorMatthias Aßhauer <mha1993@live.de>2023-02-20 21:33:25 +0000
committerJunio C Hamano <gitster@pobox.com>2023-02-21 12:09:40 -0800
commitc39952b925ccf59e49f3c174861a862dc1721492 (patch)
tree1035f7fee51b3dd58428d31dabc74a4234586a53 /builtin/annotate.c
parentd9d677b2d8cc5f70499db04e633ba7a400f64cbf (diff)
fetch: choose a sensible default with --jobs=0 again
prior to 51243f9 (run-command API: don't fall back on online_cpus(), 2022-10-12) `git fetch --multiple --jobs=0` would choose some default amount of jobs, similar to `git -c fetch.parallel=0 fetch --multiple`. While our documentation only ever promised that `fetch.parallel` would fall back to a "sensible default", it makes sense to do the same for `--jobs`. So fall back to online_cpus() and not BUG() out. This fixes https://github.com/git-for-windows/git/issues/4302 Reported-by: Drew Noakes <drnoakes@microsoft.com> Signed-off-by: Matthias Aßhauer <mha1993@live.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/annotate.c')
0 files changed, 0 insertions, 0 deletions