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/p6011-rev-list-maximal.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 / p6011-rev-list-maximal.sh` 29 lines ยท 703 bytes Raw Blame History 1 #!/bin/sh 2 3 test_description='Test --maximal-only and --independent options' 4 5 . ./perf-lib.sh 6 7 test_perf_default_repo 8 9 test_expect_success 'setup' ' 10 git for-each-ref --format="%(*objecttype) %(objecttype) %(objectname)" \ 11 "refs/heads/*" "refs/tags/*" | 12 sed -n -e "s/^commit commit //p" -e "s/^ commit //p" | 13 head -n 50 >commits && 14 git commit-graph write --reachable 15 ' 16 17 test_perf 'merge-base --independent' ' 18 git merge-base --independent $(cat commits) >/dev/null 19 ' 20 21 test_perf 'rev-list --maximal-only' ' 22 git rev-list --maximal-only $(cat commits) >/dev/null 23 ' 24 25 test_perf 'rev-list --maximal-only --since' ' 26 git rev-list --maximal-only --since=2000-01-01 $(cat commits) >/dev/null 27 ' 28 29 test_done