3 test_description='speed of clone --reference'
8 test_expect_success 'create shareable repository' '
9 git clone --bare . shared.git
12 test_expect_success 'advance base repository' '
13 # Do not use test_commit here; its test_tick will
14 # use some ancient hard-coded date. The resulting clock
15 # skew will cause pack-objects to traverse in a very
16 # sub-optimal order, skewing the results.
17 echo content >new-file-that-does-not-exist &&
18 git add new-file-that-does-not-exist &&
19 git commit -m "new commit"
22 test_perf 'clone --reference' '
24 git clone --no-local --bare --reference shared.git . dst.git