]> git.ipfire.org Git - thirdparty/git.git/commit
t/helper: fix leaking repository in partial-clone helper
authorPatrick Steinhardt <ps@pks.im>
Mon, 30 Sep 2024 09:13:40 +0000 (11:13 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 30 Sep 2024 18:23:05 +0000 (11:23 -0700)
commit58888c0401a43bfe2953b0508b5f1bd6c3f32b89
tree5761b94e5ab3140a5f091cec31c251abc4643b0f
parent6361dea6e8f4476b495319a9d3eeed2e2e694f8a
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>
t/helper/test-partial-clone.c
t/t0410-partial-clone.sh