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/p1401-ref-store-tombstones.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 / p1401-ref-store-tombstones.sh` 46 lines ยท 1397 bytes Raw Blame History 1 #!/bin/sh 2 3 test_description="Tests performance of ref operations with many tombstones" 4 5 . ./perf-lib.sh 6 7 test_expect_success "setup" ' 8 git init --ref-storage-format=reftable repo && 9 blob=$(echo foo | git -C repo hash-object -w --stdin) && 10 for i in $(test_seq 8000) 11 do 12 printf "create refs/tags/tag-%d %s\n" "$i" "$blob" || 13 return 1 14 done >repo/input && 15 git -C repo update-ref --stdin repo2/input-old && 34 sed "s/old-/new-/" repo2/input-new && 35 git -C repo2 update-ref --stdin