t7610: run 'git reset --hard' after each test to clean up
commitc3ad3126b8113e9ed90ec8639a2ef266e9190565
authorRichard Hansen <hansenr@google.com>
Tue, 10 Jan 2017 20:41:55 +0000 (10 15:41 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 10 Jan 2017 21:22:20 +0000 (10 13:22 -0800)
treeba5de923744a74b7f96e25d6e281c53e0b57c20f
parentb696ac9aafd57fad68383b4edd31784462d34bcb
t7610: run 'git reset --hard' after each test to clean up

Use test_when_finished to run 'git reset --hard' after each test so
that the repository is left in a saner state for the next test.

This is a step toward making the tests more independent so that if one
test fails it doesn't cause subsequent tests to fail.

Signed-off-by: Richard Hansen <hansenr@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7610-mergetool.sh