[PATCH 0/3] Add cleanup for garbage .bitmap files
- From
Doug Kelly <dougk.ff7@gmail.com>
- Date
- Nov 14, 2015, 00:10 UTC
- Message-ID
- <1447459853-28838-1-git-send-email-dougk.ff7@gmail.com>
Following Peff and Junio's comments when adding support for cleaning garbage .idx files left in the pack directory, this patch introduces the ability to detect garbage .bitmap files. Additionally, .keep files are still reported, but no action is taken to clean them.
This includes some refactor around count-objects' report_pack_garbage handler, to make it more extensible when adding understanding for different file types. Testing shows this working, but it may be a section to provide extra scrutiny to.