gc: remove garbage .idx files from pack dir
commit478f34d2b6ea13d5f56ecec04de7ca7ce18367c0
authorDoug Kelly <dougk.ff7@gmail.com>
Wed, 4 Nov 2015 03:05:08 +0000 (3 21:05 -0600)
committerJunio C Hamano <gitster@pobox.com>
Wed, 4 Nov 2015 19:30:22 +0000 (4 11:30 -0800)
treec42c51cc370555bc4fe5d978e6a9a3072182c16f
parente6d65c9a47a0f245614d34246fe28782a6d2209b
gc: remove garbage .idx files from pack dir

Add a custom report_garbage handler to collect and remove
garbage .idx files from the pack directory.

Signed-off-by: Doug Kelly <dougk.ff7@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/gc.c
t/t5304-prune.sh