Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/t/perf/p5600-partial-clone.sh # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / t / perf / p5600-partial-clone.sh` 42 lines ยท 848 bytes Raw Blame History 1 #!/bin/sh 2 3 test_description='performance of partial clones' 4 . ./perf-lib.sh 5 6 test_perf_default_repo 7 8 test_expect_success 'enable server-side config' ' 9 git config uploadpack.allowFilter true && 10 git config uploadpack.allowAnySHA1InWant true 11 ' 12 13 test_perf 'clone without blobs' ' 14 rm -rf bare.git && 15 git clone --no-local --bare --filter=blob:none . bare.git 16 ' 17 18 test_perf 'checkout of result' ' 19 rm -rf worktree && 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 24 ' 25 26 test_perf 'fsck' ' 27 git -C bare.git fsck 28 ' 29 30 test_perf 'count commits' ' 31 git -C bare.git rev-list --all --count 32 ' 33 34 test_perf 'count non-promisor commits' ' 35 git -C bare.git rev-list --all --count --exclude-promisor-objects 36 ' 37 38 test_perf 'gc' ' 39 git -C bare.git gc 40 ' 41 42 test_done