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

* js/close-packs-before-gc:
  t5510: run auto-gc in the foreground
This commit is contained in:
Junio C Hamano
2016-05-18 14:40:09 -07:00

View File

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