Merge branch 'js/close-packs-before-gc'
authorJunio C Hamano <gitster@pobox.com>
Tue, 10 May 2016 20:40:30 +0000 (13:40 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 10 May 2016 20:40:30 +0000 (13:40 -0700)
* js/close-packs-before-gc:
t5510: run auto-gc in the foreground

t/t5510-fetch.sh
index 38321d19efbee0da62a9327f5849521093fbe077..454d896390c03667442ce12925066b14593b3cd1 100755 (executable)
@@ -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
        )