t6024: move "git reset" to prepare for a test inside the test itself
Noticed by Mike Hommey. Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
@ -81,8 +81,8 @@ EOF
|
|||||||
|
|
||||||
test_expect_success "virtual trees were processed" "git diff expect out"
|
test_expect_success "virtual trees were processed" "git diff expect out"
|
||||||
|
|
||||||
git reset --hard
|
|
||||||
test_expect_success 'refuse to merge binary files' '
|
test_expect_success 'refuse to merge binary files' '
|
||||||
|
git reset --hard &&
|
||||||
printf "\0" > binary-file &&
|
printf "\0" > binary-file &&
|
||||||
git add binary-file &&
|
git add binary-file &&
|
||||||
git commit -m binary &&
|
git commit -m binary &&
|
||||||
|
Reference in New Issue
Block a user