]> git.ipfire.org Git - thirdparty/git.git/commit - t/t5319-multi-pack-index.sh
midx.c: avoid cruft packs with non-zero `repack --batch-size`
authorTaylor Blau <me@ttaylorr.com>
Tue, 20 Sep 2022 01:55:56 +0000 (21:55 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 21 Sep 2022 17:21:47 +0000 (10:21 -0700)
commitb62ad5681f7ff08065d172f541ab2578d7b38e18
tree402b3c4c6c614e232bf7d1137dd49e6b14e4f4b3
parent0a8e5614924abaac17008aea3cef2ee8fa25f26a
midx.c: avoid cruft packs with non-zero `repack --batch-size`

Apply similar treatment with respect to cruft packs as in a few commits
ago to `repack` with a non-zero `--batch-size`.

Since the case of a non-zero `--batch-size` is handled separately (in
`fill_included_packs_batch()` instead of `fill_included_packs_all()`), a
separate fix must be applied for this case.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
midx.c
t/t5319-multi-pack-index.sh