3 test_description
='git annotate'
4 GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
=main
5 export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
7 TEST_CREATE_REPO_NO_TEMPLATE
=1
11 .
"$TEST_DIRECTORY"/annotate-tests.sh
13 test_expect_success
'annotate old revision' '
14 git annotate file main >actual &&
15 awk "{ print \$3; }" <actual >authors &&
16 test 2 = $(grep A <authors | wc -l) &&
17 test 2 = $(grep B <authors | wc -l)