Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-02-25 09:54:00 +0300
committerJunio C Hamano <gitster@pobox.com>2023-02-25 09:54:00 +0300
commitd180cc297922569e530da843bee4df3964167dea (patch)
tree85a377687a1b6a5ed5e9e71fa145e2020d01d5df /t
parentc5f7ef5fdc2d60af86669931829e4da57e2eed68 (diff)
parentc39952b925ccf59e49f3c174861a862dc1721492 (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-xt/t5514-fetch-multiple.sh5
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