]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'tb/midx-repack-ignore-cruft-packs'
authorJunio C Hamano <gitster@pobox.com>
Mon, 10 Oct 2022 17:08:43 +0000 (10:08 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 10 Oct 2022 17:08:43 +0000 (10:08 -0700)
commita215853545209b2e82a49c3fc538b9aad204d274
tree2bd87fed12477c66ba9ac8f6f36cc10c3c8b32d2
parent38bb92cf46be5cb2a217bd58c4359024918bd31a
parentb62ad5681f7ff08065d172f541ab2578d7b38e18
Merge branch 'tb/midx-repack-ignore-cruft-packs'

"git multi-pack-index repack/expire" used to repack unreachable
cruft into a new pack, which have been corrected.

* tb/midx-repack-ignore-cruft-packs:
  midx.c: avoid cruft packs with non-zero `repack --batch-size`
  midx.c: remove unnecessary loop condition
  midx.c: replace `xcalloc()` with `CALLOC_ARRAY()`
  midx.c: avoid cruft packs with `repack --batch-size=0`
  midx.c: prevent `expire` from removing the cruft pack
  Documentation/git-multi-pack-index.txt: clarify expire behavior
  Documentation/git-multi-pack-index.txt: fix typo