diff --git a/t/t5304-prune.sh b/t/t5304-prune.sh index 1eeb828a15146e9e5040c64b20a31329853f12e7..df60f18fb8caa252a173603258ed09f9a3c2f89d 100755 --- a/t/t5304-prune.sh +++ b/t/t5304-prune.sh @@ -341,4 +341,12 @@ test_expect_success 'prune: handle expire option correctly' ' git prune --no-expire ' +test_expect_success 'trivial prune with bitmaps enabled' ' + git repack -adb && + blob=$(echo bitmap-unreachable-blob | git hash-object -w --stdin) && + git prune --expire=now && + git cat-file -e HEAD && + test_must_fail git cat-file -e $blob +' + test_done