]> git.ipfire.org Git - thirdparty/git.git/commit
repack: move `finish_pack_objects_cmd()` out of the builtin
authorTaylor Blau <me@ttaylorr.com>
Wed, 15 Oct 2025 22:29:30 +0000 (18:29 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 16 Oct 2025 17:08:56 +0000 (10:08 -0700)
commitfa0787a6cc1d8e7ef1e2e8398bdc13b987c61d69
tree28425ca729aabf060a21965bb9863c9c28bed898
parent80db3cd18985609340f40b2b06f4ef9f86a2cbe0
repack: move `finish_pack_objects_cmd()` out of the builtin

In a similar spirit as the previous commit(s), now that the function
`finish_pack_objects_cmd()` has no explicit dependencies within the
repack builtin, let's extract it.

This prepares us to extract the remaining two functions within the
repack builtin that explicitly write packfiles, which are
`write_cruft_pack()` and `write_filtered_pack()`, which will be done in
the future commits.

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