diff options
author | Christian Couder <christian.couder@gmail.com> | 2025-03-18 12:00:05 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-03-18 12:22:33 -0700 |
commit | 9e05fbe61ba029a3ff9a984709875d76341a217c (patch) | |
tree | 451340f53428549c50b4db3d382fb06847fe8674 /git-gui/lib/commit.tcl | |
parent | 5040f9f164ea7d633237e52bed311d1e9773c78e (diff) |
t5710: arrange to delete the client before cloning
If `test_when_finished "rm -rf client"` is run after we clone, it
will not run if the clone failed, so the "client" directory might
not be removed at the end of the test.
`git clone` does try to remove the directory when it fails, but
let's be safe and try to protect against possibly weird clone
failures by moving `test_when_finished "rm -rf client"` before
the clone. It just makes more sense this way around.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib/commit.tcl')
0 files changed, 0 insertions, 0 deletions