]> git.ipfire.org Git - thirdparty/git.git/commit
builtin/repack.c: avoid "the_repository" in existing packs API
authorTaylor Blau <me@ttaylorr.com>
Wed, 15 Oct 2025 22:27:21 +0000 (18:27 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 16 Oct 2025 17:08:53 +0000 (10:08 -0700)
commitdf3a499bd6b951a9e23894793afec11f0850834a
tree74edd6718689ad863e2b471474f40213678e5491
parent20b4eeddce165f11d7c5bffb1ecb69017df4a05e
builtin/repack.c: avoid "the_repository" in existing packs API

There are a number of spots within builtin/repack.c which refer to
"the_repository", and either make use of the "existing packs" API
or otherwise have a 'struct existing_packs *' in scope.

Add a "repo" member to "struct existing_packs" and use that instead of
"the_repository" in such locations.

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