userdiff: add built-in pattern for CSS
[gitweb.git] / t / t5510-fetch.sh
index 0c10c856a96072a1b0c37530a9f5c8605d8833b5..454d896390c03667442ce12925066b14593b3cd1 100755 (executable)
@@ -679,10 +679,13 @@ test_expect_success 'fetching with auto-gc does not lock up' '
        EOF
        git clone "file://$D" auto-gc &&
        test_commit test2 &&
-       cd auto-gc &&
-       git config gc.autoPackLimit 1 &&
-       GIT_ASK_YESNO="$D/askyesno" git fetch >fetch.out 2>&1 &&
-       ! grep "Should I try again" fetch.out
+       (
+               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
+       )
 '
 
 test_done