]> git.ipfire.org Git - thirdparty/git.git/commit
builtin/repack.c: pass "packtmp" to `generated_pack_populate()`
authorTaylor Blau <me@ttaylorr.com>
Wed, 15 Oct 2025 22:28:23 +0000 (18:28 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 16 Oct 2025 17:08:54 +0000 (10:08 -0700)
commit184f0abeb802f44c0e23abe3c8a3fc7448c78b99
treeaa68856960be248306f0670debb14c219a4fc196
parentc0427692cb0fe03eb32fffc5bd06fad4ee434561
builtin/repack.c: pass "packtmp" to `generated_pack_populate()`

In a similar spirit as previous commits, this function needs to know the
temporary pack prefix, which it currently accesses through the static
"packtmp" variable within builtin/repack.c.

Pass it explicitly as a function parameter to facilitate moving this
function out of builtin/repack.c entirely.

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