]> git.ipfire.org Git - thirdparty/git.git/commit
builtin/repack.c: pass 'pack_kept_objects' to `pack_geometry_init()`
authorTaylor Blau <me@ttaylorr.com>
Wed, 15 Oct 2025 22:28:41 +0000 (18:28 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 16 Oct 2025 17:08:55 +0000 (10:08 -0700)
commit2a15a739a231d3eac774e13b53003faa7377719c
tree4f86137b32103fdc3bd4958a4eb83c8e6aec0b0c
parente05c2d55668dcaa6a912372d93fb8f82d418d390
builtin/repack.c: pass 'pack_kept_objects' to `pack_geometry_init()`

Prepare to move pack_geometry-related APIs to their own compilation unit
by passing in the static "pack_kept_objects" variable directly as a
parameter to the 'pack_geometry_init()' function.

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