repack: repack promisor objects if -a or -A is set
[gitweb.git] / t / t5510-fetch.sh
index 4e6d049b94c686c7d1830c8e3ad0fcea0a00a605..62308be499ffd862484eb23de61850d00f80720c 100755 (executable)
@@ -828,9 +828,11 @@ test_expect_success 'fetching with auto-gc does not lock up' '
        test_commit test2 &&
        (
                cd auto-gc &&
+               git config fetch.unpackLimit 1 &&
                git config gc.autoPackLimit 1 &&
                git config gc.autoDetach false &&
                GIT_ASK_YESNO="$D/askyesno" git fetch >fetch.out 2>&1 &&
+               test_i18ngrep "Auto packing the repository" fetch.out &&
                ! grep "Should I try again" fetch.out
        )
 '