diff options
| author | Denton Liu <liu.denton@gmail.com> | 2019-04-27 05:02:19 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2019-05-07 13:23:10 +0900 |
| commit | 27434bf08c6c7c065e6323e8aa3f285d8f345e83 (patch) | |
| tree | 9631faf805c9432ffbae76415933c7d86e8cf75d /t/t4013/diff.format-patch_--inline_--stdout_initial..side | |
| parent | mingw: allow building with an MSYS2 runtime v3.x (diff) | |
| download | git-27434bf08c6c7c065e6323e8aa3f285d8f345e83.tar.gz git-27434bf08c6c7c065e6323e8aa3f285d8f345e83.zip | |
t2018: cleanup in current test
Before, in t2018, if do_checkout failed to create `branch2`, the next
test-case would run `git branch -D branch2` but then fail because it was
expecting `branch2` to exist, even though it doesn't. As a result, an
early failure could cause a cascading failure of tests.
Make test-case responsible for cleaning up their own branches so that
future tests can start with a sane environment.
Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.format-patch_--inline_--stdout_initial..side')
0 files changed, 0 insertions, 0 deletions
