]> git.ipfire.org Git - thirdparty/git.git/commit
builtin/repack.c: provide pack locations to `generated_pack_install()`
authorTaylor Blau <me@ttaylorr.com>
Wed, 15 Oct 2025 22:28:26 +0000 (18:28 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 16 Oct 2025 17:08:54 +0000 (10:08 -0700)
commit7036d131ae514f1bc854670a9d26b31064fcd88d
tree72fa1ce48ae2808751f1f2a0a1415dc9b76363a2
parent184f0abeb802f44c0e23abe3c8a3fc7448c78b99
builtin/repack.c: provide pack locations to `generated_pack_install()`

Repeat what was done in the preceding commit for the
`generated_pack_install()` function, which needs both "packdir" and
"packtmp".

(As an aside, it is somewhat unfortunate that the final three parameters
to this function are all "const char *", making errors like passing
"packdir" and "packtmp" in the wrong order easy. We could define a new
structure here, but that may be too heavy-handed.)

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