diff options
author | Patrick Steinhardt <ps@pks.im> | 2024-09-30 11:13:40 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-09-30 20:23:05 +0200 |
commit | 58888c0401a43bfe2953b0508b5f1bd6c3f32b89 (patch) | |
tree | 5761b94e5ab3140a5f091cec31c251abc4643b0f /t/t0410-partial-clone.sh | |
parent | builtin/clone: fix leaking repo state when cloning with bundle URIs (diff) | |
download | git-58888c0401a43bfe2953b0508b5f1bd6c3f32b89.tar.xz git-58888c0401a43bfe2953b0508b5f1bd6c3f32b89.zip |
t/helper: fix leaking repository in partial-clone helper
We initialize but never clear a repository in the partial-clone test
helper. Plug this leak.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to '')
-rwxr-xr-x | t/t0410-partial-clone.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/t/t0410-partial-clone.sh b/t/t0410-partial-clone.sh index 34bdb3ab1f..818700fbec 100755 --- a/t/t0410-partial-clone.sh +++ b/t/t0410-partial-clone.sh @@ -2,6 +2,7 @@ test_description='partial clone' +TEST_PASSES_SANITIZE_LEAK=true . ./test-lib.sh . "$TEST_DIRECTORY"/lib-terminal.sh |