]> git.ipfire.org Git - thirdparty/git.git/commit
builtin/repack.c: avoid "the_repository" when repacking promisor objects
authorTaylor Blau <me@ttaylorr.com>
Wed, 15 Oct 2025 22:27:30 +0000 (18:27 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 16 Oct 2025 17:08:53 +0000 (10:08 -0700)
commitcae9e2abbd8fb2fd483e101275cee15ef27d5953
tree040373c6d471c539d6b7cee321df9916e06e18dd
parent03015747584e9f96c7ad6b57ecd99aa694312333
builtin/repack.c: avoid "the_repository" when repacking promisor objects

Pass a "struct repository" pointer to the 'repack_promisor_objects()'
function to avoid using "the_repository".

Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/repack.c