From 478f34d2b6ea13d5f56ecec04de7ca7ce18367c0 Mon Sep 17 00:00:00 2001 From: Doug Kelly Date: Tue, 3 Nov 2015 21:05:08 -0600 Subject: 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 Signed-off-by: Junio C Hamano --- t/t5304-prune.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't') diff --git a/t/t5304-prune.sh b/t/t5304-prune.sh index 029751544f..def203c724 100755 --- a/t/t5304-prune.sh +++ b/t/t5304-prune.sh @@ -245,7 +245,7 @@ EOF test_cmp expected actual ' -test_expect_failure 'clean pack garbage with gc' ' +test_expect_success 'clean pack garbage with gc' ' test_when_finished "rm -f .git/objects/pack/fake*" && test_when_finished "rm -f .git/objects/pack/foo*" && : >.git/objects/pack/foo.keep && -- cgit v1.2.3