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/p1451-fsck-skip-list.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 / p1451-fsck-skip-list.sh` 40 lines ยท 710 bytes Raw Blame History 1 #!/bin/sh 2 3 test_description='Test fsck skipList performance' 4 5 . ./perf-lib.sh 6 7 test_perf_fresh_repo 8 9 n=`1000000` 10 11 test_expect_success "setup $n bad commits" ' 12 for i in $(test_seq 1 $n) 13 do 14 echo "commit refs/heads/master" && 15 echo "committer C `1234567890` +0000" && 16 echo "data <skiplist 28 ' 29 30 test_perf "fsck with $skip skipped bad commits" ' 31 git -c fsck.skipList=skiplist fsck 32 ' 33 34 case $skip in 35 0) skip=1 ;; 36 *) skip=${skip}0 ;; 37 esac 38 done 39 40 test_done