]> git.ipfire.org Git - thirdparty/git.git/commit
builtin/repack.c: clean up unused `#include`s
authorTaylor Blau <me@ttaylorr.com>
Wed, 15 Oct 2025 22:29:41 +0000 (18:29 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 16 Oct 2025 17:08:57 +0000 (10:08 -0700)
commit935ab44a0a4fae54f9cd378ede16f19e563e53d9
tree4dc5aeb64cdce7cfff819c9ce9a0265ef9d3584c
parent09797bd9666bb9cc6232e414498578deb2697c2a
builtin/repack.c: clean up unused `#include`s

Over the past several dozen commits, we have moved a large amount of
functionality out of the repack builtin and into other files like
repack.c, repack-cruft.c, repack-filtered.c, repack-midx.c, and
repack-promisor.c.

These files specify the minimal set of `#include`s that they need to
compile successfully, but we did not change the set of `#include`s in
the repack builtin itself.

Now that the code movement is complete, let's clean up that set of
`#include`s and trim down the builtin to include the minimal amount of
external headers necessary to compile.

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