3 test_description
='performance of partial clones'
8 test_expect_success
'enable server-side config' '
9 git config uploadpack.allowFilter true &&
10 git config uploadpack.allowAnySHA1InWant true
13 test_perf
'clone without blobs' '
15 git clone --no-local --bare --filter=blob:none . bare.git
18 test_perf
'checkout of result' '
20 mkdir -p worktree/.git &&
21 tar -C bare.git -cf - . | tar -C worktree/.git -xf - &&
22 git -C worktree config core.bare false &&
23 git -C worktree checkout -f
30 test_perf
'count commits' '
31 git -C bare.git rev-list --all --count
34 test_perf
'count non-promisor commits' '
35 git -C bare.git rev-list --all --count --exclude-promisor-objects