Skip to content

Commit

Permalink
t6024: move "git reset" to prepare for a test inside the test itself
Browse files Browse the repository at this point in the history
Noticed by Mike Hommey.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Junio C Hamano committed Mar 1, 2008
1 parent a0c14cb commit c3b088d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/t6024-recursive-merge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down

0 comments on commit c3b088d

Please sign in to comment.