Merge branch 'js/close-packs-before-gc'
A small future-proofing of a test added recently. * js/close-packs-before-gc: t5510: do not leave changed cwd
This commit is contained in:
commit
68846a92ea
@ -679,10 +679,12 @@ test_expect_success 'fetching with auto-gc does not lock up' '
|
|||||||
EOF
|
EOF
|
||||||
git clone "file://$D" auto-gc &&
|
git clone "file://$D" auto-gc &&
|
||||||
test_commit test2 &&
|
test_commit test2 &&
|
||||||
cd auto-gc &&
|
(
|
||||||
git config gc.autoPackLimit 1 &&
|
cd auto-gc &&
|
||||||
GIT_ASK_YESNO="$D/askyesno" git fetch >fetch.out 2>&1 &&
|
git config gc.autoPackLimit 1 &&
|
||||||
! grep "Should I try again" fetch.out
|
GIT_ASK_YESNO="$D/askyesno" git fetch >fetch.out 2>&1 &&
|
||||||
|
! grep "Should I try again" fetch.out
|
||||||
|
)
|
||||||
'
|
'
|
||||||
|
|
||||||
test_done
|
test_done
|
||||||
|
Loading…
Reference in New Issue
Block a user