From: Junio C Hamano Date: Sat, 1 Mar 2008 09:10:12 +0000 (-0800) Subject: t6024: move "git reset" to prepare for a test inside the test itself X-Git-Tag: v1.5.5-rc0~110 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c3b088d9daa8294101dbfed4b2db0373ef24d52b;p=git.git t6024: move "git reset" to prepare for a test inside the test itself Noticed by Mike Hommey. Signed-off-by: Junio C Hamano --- diff --git a/t/t6024-recursive-merge.sh b/t/t6024-recursive-merge.sh index 149ea8543..23d24d3fe 100755 --- a/t/t6024-recursive-merge.sh +++ b/t/t6024-recursive-merge.sh @@ -81,8 +81,8 @@ EOF test_expect_success "virtual trees were processed" "git diff expect out" -git reset --hard test_expect_success 'refuse to merge binary files' ' + git reset --hard && printf "\0" > binary-file && git add binary-file && git commit -m binary &&