diff options
author | Richard Hansen <hansenr@google.com> | 2017-01-10 15:41:55 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-01-10 13:22:20 -0800 |
commit | c3ad3126b8113e9ed90ec8639a2ef266e9190565 (patch) | |
tree | ba5de923744a74b7f96e25d6e281c53e0b57c20f /tmp-objdir.c | |
parent | t7610: don't rely on state from previous test (diff) | |
download | tgif-c3ad3126b8113e9ed90ec8639a2ef266e9190565.tar.xz |
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>
Diffstat (limited to 'tmp-objdir.c')
0 files changed, 0 insertions, 0 deletions