aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-12-15 11:42:36 -0800
committerJunio C Hamano <gitster@pobox.com>2017-12-19 12:58:57 -0800
commitfb2afea366044fc2b4fff9929a06a1ca36f506df (patch)
tree75e18c23c648d35d95ecb5f4561423f3dac53dfe /builtin
parent7f8ca20a44094dda6e6c74013a36c078cbffc548 (diff)
downloadgit-fb2afea366044fc2b4fff9929a06a1ca36f506df.tar.gz
git-fb2afea366044fc2b4fff9929a06a1ca36f506df.tar.xz
t5573, t7612: clean up after unexpected success of 'pull' and 'merge'
The previous steps added test_when_finished to tests that run 'git pull' or 'git merge' with expectation of success, so that the test after them can start from a known state even when their 'git pull' invocation unexpectedly fails. However, tests that run 'git pull' or 'git merge' expecting it not to succeed forgot to protect later tests the same way---if they unexpectedly succeed, the test after them would start from an unexpected state. Reset and checkout the initial commit after all these tests, whether they expect their invocations to succeed or fail. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
0 files changed, 0 insertions, 0 deletions