]> git.ipfire.org Git - thirdparty/git.git/commit
builtin/repack.c: write cruft packs to arbitrary locations
authorTaylor Blau <me@ttaylorr.com>
Mon, 24 Oct 2022 18:43:09 +0000 (14:43 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Oct 2022 20:39:42 +0000 (13:39 -0700)
commitc12cda479eb103bc364e299a2e5654a7165df3cd
treeb5357385d7c2e00dce056fc0dee69c04a3f73574
parenteddad3686080553bb1e6ffa6d9394912f9427823
builtin/repack.c: write cruft packs to arbitrary locations

In the following commit, a new write_cruft_pack() caller will be added
which wants to write a cruft pack to an arbitrary location. Prepare for
this by adding a parameter which controls the destination of the cruft
pack.

For now, provide "packtmp" so that this commit does not change any
behavior.

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