summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLibravatar Taylor Blau <me@ttaylorr.com>2021-09-28 21:55:04 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-09-28 21:20:55 -0700
commit6fb22ca463077a07f42675be52e68891f319b5c2 (patch)
tree94ae60bd5cf107855df15f9fa3e743bb0af8e450 /configure.ac
parentmidx: expose `write_midx_file_only()` publicly (diff)
downloadtgif-6fb22ca463077a07f42675be52e68891f319b5c2.tar.xz
builtin/multi-pack-index.c: support `--stdin-packs` mode
To power a new `--write-midx` mode, `git repack` will want to write a multi-pack index containing a certain set of packs in the repository. This new option will be used by `git repack` to write a MIDX which contains only the packs which will survive after the repack (that is, it will exclude any packs which are about to be deleted). This patch effectively exposes the function implemented in the previous commit via the `git multi-pack-index` builtin. An alternative approach would have been to call that function from the `git repack` builtin directly, but this introduces awkward problems around closing and reopening the object store, so the MIDX will be written out-of-process. Signed-off-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions