summaryrefslogtreecommitdiff
path: root/t/t8002-blame.sh
blob: d3a51e12698bed50d4eef1474e75dbfd0be0d034 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

test_description='git blame'
. ./test-lib.sh

PROG='git blame -c'
. "$TEST_DIRECTORY"/annotate-tests.sh

PROG='git blame -c -e'
test_expect_success 'Blame --show-email works' '
    check_count "<A@test.git>" 1 "<B@test.git>" 1 "<B1@test.git>" 1 "<B2@test.git>" 1 "<author@example.com>" 1 "<C@test.git>" 1 "<D@test.git>" 1
'

test_done