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

In an identical fashion as the previous commit, move the function
`write_cruft_pack()` into its own compilation unit, and make the
function visible through the repack.h API.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
builtin/repack.c
meson.build
repack-cruft.c [new file with mode: 0644]
repack.h