summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2015-07-09 14:31:43 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-07-09 14:31:43 -0700
commitc07173f2156cb81661f0a9c33b99d9378f3e104c (patch)
treeaf6ff089cac7784bd70bd5a7850467a77bd7318e /t
parentMerge branch 'jc/fix-alloc-sortbuf-in-index-pack' (diff)
parentfor_each_packed_object: automatically open pack index (diff)
downloadtgif-c07173f2156cb81661f0a9c33b99d9378f3e104c.tar.xz
Merge branch 'jk/maint-for-each-packed-object'
The for_each_packed_object() API function did not iterate over objects in a packfile that hasn't been used yet. * jk/maint-for-each-packed-object: for_each_packed_object: automatically open pack index
Diffstat (limited to 't')
-rwxr-xr-xt/t5304-prune.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/t5304-prune.sh b/t/t5304-prune.sh
index 0794d33dad..023d7c6f7b 100755
--- a/t/t5304-prune.sh
+++ b/t/t5304-prune.sh
@@ -218,6 +218,7 @@ test_expect_success 'gc: prune old objects after local clone' '
'
test_expect_success 'garbage report in count-objects -v' '
+ test_when_finished "rm -f .git/objects/pack/fake*" &&
: >.git/objects/pack/foo &&
: >.git/objects/pack/foo.bar &&
: >.git/objects/pack/foo.keep &&