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

In a similar fashion as in previous commits, move the function
`write_filtered_pack()` out of the builtin and into its own compilation
unit.

This function is now part of the repack.h API, but implemented in its
own "repack-filtered.c" unit as it is a separate component from other
kinds of repacking operations.

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