diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-02-25 09:54:00 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-02-25 09:54:00 +0300 |
commit | d180cc297922569e530da843bee4df3964167dea (patch) | |
tree | 85a377687a1b6a5ed5e9e71fa145e2020d01d5df /t | |
parent | c5f7ef5fdc2d60af86669931829e4da57e2eed68 (diff) | |
parent | c39952b925ccf59e49f3c174861a862dc1721492 (diff) |
Merge branch 'ma/fetch-parallel-use-online-cpus'
"git fetch --jobs=0" used to hit a BUG(), which has been corrected
to use the available CPUs.
* ma/fetch-parallel-use-online-cpus:
fetch: choose a sensible default with --jobs=0 again
Diffstat (limited to 't')
-rwxr-xr-x | t/t5514-fetch-multiple.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/t/t5514-fetch-multiple.sh b/t/t5514-fetch-multiple.sh index 511ba3bd45..54f422ced3 100755 --- a/t/t5514-fetch-multiple.sh +++ b/t/t5514-fetch-multiple.sh @@ -197,4 +197,9 @@ test_expect_success 'parallel' ' test_i18ngrep "could not fetch .two.*128" err ' +test_expect_success 'git fetch --multiple --jobs=0 picks a default' ' + (cd test && + git fetch --multiple --jobs=0) +' + test_done |