t7610: don't assume the checked-out commit
authorRichard Hansen <hansenr@google.com>
Tue, 10 Jan 2017 20:41:58 +0000 (15:41 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 10 Jan 2017 21:22:20 +0000 (13:22 -0800)
commitfef6c06d6401458f47b5beb9822c75c74a2eb07f
tree4cb863ec15bda7d05a7feac84ee41c6ef291fc60
parent61b76d2de3e508e628cbb9a5718771309c2d4a81
t7610: don't assume the checked-out commit

Always check out the required commit at the beginning of the test so
that a failure in a previous test does not cause the test to work off
of the wrong commit.

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