]> git.ipfire.org Git - thirdparty/git.git/blame - t/t8001-annotate.sh
remote: disallow some nonsensical option combinations
[thirdparty/git.git] / t / t8001-annotate.sh
CommitLineData
7c3ecb65
RA
1#!/bin/sh
2
5be60078 3test_description='git annotate'
7c3ecb65
RA
4. ./test-lib.sh
5
8752d11d 6PROG='git annotate'
bfdbee98 7. "$TEST_DIRECTORY"/annotate-tests.sh
7c3ecb65 8
f560069b
RA
9test_expect_success \
10 'Annotating an old revision works' \
4d62eaab
EW
11 '[ $(git annotate file master | awk "{print \$3}" | grep -c "^A$") -eq 2 ] && \
12 [ $(git annotate file master | awk "{print \$3}" | grep -c "^B$") -eq 2 ]'
f560069b
RA
13
14
7c3ecb65 15test_done