Browse Source

Merge branch 'js/close-packs-before-gc'

* js/close-packs-before-gc:
  t5510: run auto-gc in the foreground
maint
Junio C Hamano 9 years ago
parent
commit
1fab5e53fc
  1. 1
      t/t5510-fetch.sh

1
t/t5510-fetch.sh

@ -682,6 +682,7 @@ test_expect_success 'fetching with auto-gc does not lock up' ' @@ -682,6 +682,7 @@ test_expect_success 'fetching with auto-gc does not lock up' '
(
cd auto-gc &&
git config gc.autoPackLimit 1 &&
git config gc.autoDetach false &&
GIT_ASK_YESNO="$D/askyesno" git fetch >fetch.out 2>&1 &&
! grep "Should I try again" fetch.out
)

Loading…
Cancel
Save