Skip to content

fix repack.packKeptObjects regression in v2.0

Jeff King git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6repack: do not accidentally pack kept objects by defaultbuiltin/repack.c t/t7700-repack.sh+2 -21 reply
2/6repack: respect pack.writebitmapsbuiltin/repack.c t/t7700-repack.sh+22 -20 replies
3/6repack: s/write_bitmap/&s/ in codebuiltin/repack.c+6 -60 replies
4/6pack-objects: stop respecting pack.writebitmapsbuiltin/pack-objects.c+0 -42 replies
5/6repack: simplify handling of --write-bitmap-indexbuiltin/repack.c+4 -50 replies
6/6repack: introduce repack.writeBitmaps config optionDocumentation/config.txt builtin/repack.c t/perf/p5310-pack-bitmaps.sh +2 more+17 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] fix repack.packKeptObjects regression in v2.0

Here's a cleaned up version of the fix I posted earlier, with related fixes on top.

[1/6]: repack: do not accidentally pack kept objects by default

This is the most critical one for 'maint', as it fixes the regression for people who are not using bitmaps at all.

[2/6]: repack: respect pack.writebitmaps

We probably want to apply this one to maint, too, as the first one breaks people depending on repack.packKeptObjects being impacted by pack.writebitmaps (it never worked properly, but the breakage fixed by the first patch covered it up).

  [3/6]: repack: s/write_bitmap/&s/ in code
  [4/6]: pack-objects: stop respecting pack.writebitmaps
  [5/6]: repack: simplify handling of --write-bitmap-index
  [6/6]: repack: introduce repack.writeBitmaps config option

These ones can go the normal route, but see the regression comments in 4/6.

-Peff