1#!/bin/sh
23
test_description='performance tests of prune'
4. ./perf-lib.sh
56
test_perf_default_repo
78
test_expect_success 'remove reachable loose objects' '
9git repack -ad
10'
1112
test_expect_success 'remove unreachable loose objects' '
13git prune
14'
1516
test_expect_success 'confirm there are no loose objects' '
17git count-objects | grep ^0
18'
1920
test_perf 'prune with no objects' '
21git prune
22'
2324
test_done