Skip to content

gc: Clean garbage .bitmap files from pack dir

Doug Kelly git 3 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 4 repliesIn review
  2. v30 of 3 patches 3 repliesSuperseded
  3. v13 patches 9 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4prepare_packed_git(): find more garbagebuiltin/count-objects.c cache.h sha1_file.c +1 more+20 -140 replies
2/4t5304: Add test for .bitmap garbage filest/t5304-prune.sh+21 -31 reply
3/4t5304: Ensure wanted files are not deletedt/t5304-prune.sh+17 -03 replies
4/4gc: Clean garbage .bitmap files from pack dirbuiltin/gc.c t/t5304-prune.sh+35 -20 replies

Reviews trailers per patch

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

Read the v4 thread

Cover letter [PATCH v4 0/4] gc: Clean garbage .bitmap files from pack dir

Updated version to prepare_packed_git based on additional feedback, including Peff's idea to explicitly call out each file we want to handle in gc. Also adds a test case in t5304 to ensure files we explicitly don't wnat to touch are not modified.

Doug Kelly (4):
prepare_packed_git(): find more garbage
t5304: Add test for .bitmap garbage files
t5304: Ensure wanted files are not deleted
gc: Clean garbage .bitmap files from pack dir

 builtin/count-objects.c | 16 ++++++----------
 builtin/gc.c            | 35 ++++++++++++++++++++++++++++++++++-
 cache.h                 |  4 +++-
 sha1_file.c             | 12 +++++++++---
 t/t5304-prune.sh        | 37 +++++++++++++++++++++++++++++++++++++
 5 files changed, 89 insertions(+), 15 deletions(-)
Signature · 1 line
2.6.1