midx: stop reporting garbage
commitfe86c3beb5893edd4e5648dab8cca66d6cc2e77d
authorDerrick Stolee <dstolee@microsoft.com>
Mon, 20 Aug 2018 16:51:59 +0000 (20 16:51 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 20 Aug 2018 22:31:39 +0000 (20 15:31 -0700)
tree90107409556e5311e9a2f40a4aa1b561c5b4f6c3
parentc39b02ae0ae90b9fda353f87502ace9ba36db839
midx: stop reporting garbage

When prepare_packed_git is called with the report_garbage method
initialized, we report unexpected files in the objects directory
as garbage. Stop reporting the multi-pack-index and the pack-files
it covers as garbage.

Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
packfile.c