Lift --stdout restriction for using reachability bitmap in pack-objects?
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Feb 17, 2015, 10:07 UTC
- Message-ID
- <CACsJy8AC5ZcsB2_qS4k-+6fJt2_e7m=o8C9UAEcywh=P_4HXAw@mail.gmail.com>
Commit 6b8fda2 (pack-objects: use bitmaps when packing objects - 2013-12-21) turns off reachability bitmap optimization if --stdout is not specified. I wonder if we could lift this restriction?
My use case is debugging pack-objects in gdb (repeatedly) where this optimization could really save time. But specifying --stdout would clutter gdb interface.. I don't know this code well enough to judge, but I think the worst thing is we don't write .idx file out (maybe because it would involve a lot more work).
-- Duy