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/t8001-annotate.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 / t8001-annotate.sh` 26 lines ยท 566 bytes Raw Blame History 1 #!/bin/sh 2 3 test_description='git annotate' 4 GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main 5 export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME 6 7 TEST_CREATE_REPO_NO_TEMPLATE=1 8 . ./test-lib.sh 9 10 if ! test_have_prereq PERL_TEST_HELPERS 11 then 12 skip_all='skipping annotate tests; Perl not available' 13 test_done 14 fi 15 16 PROG='git annotate' 17 . "$TEST_DIRECTORY"/annotate-tests.sh 18 19 test_expect_success 'annotate old revision' ' 20 git annotate file main >actual && 21 awk "{ print \$3; }" authors && 22 test 2 = $(grep A