summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2016-05-10 13:40:30 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-05-10 13:40:30 -0700
commit1fab5e53fc674c29e070317d354aba362aabcb58 (patch)
tree8737a6290b82cc51980e6e3612650758204abcf8 /t
parentMerge branch 'ew/normal-to-e' (diff)
parentt5510: run auto-gc in the foreground (diff)
downloadtgif-1fab5e53fc674c29e070317d354aba362aabcb58.tar.xz
Merge branch 'js/close-packs-before-gc'
* js/close-packs-before-gc: t5510: run auto-gc in the foreground
Diffstat (limited to 't')
-rwxr-xr-xt/t5510-fetch.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/t5510-fetch.sh b/t/t5510-fetch.sh
index 38321d19ef..454d896390 100755
--- a/t/t5510-fetch.sh
+++ b/t/t5510-fetch.sh
@@ -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
)