2006-03-05 14:13:34 +03:00
|
|
|
#!/bin/sh
|
|
|
|
|
2007-07-03 09:52:14 +04:00
|
|
|
test_description='git blame'
|
2006-03-05 14:13:34 +03:00
|
|
|
. ./test-lib.sh
|
|
|
|
|
|
|
|
PROG='git blame -c'
|
2008-08-08 13:26:28 +04:00
|
|
|
. "$TEST_DIRECTORY"/annotate-tests.sh
|
2006-03-05 14:13:34 +03:00
|
|
|
|
2010-10-16 10:57:51 +04:00
|
|
|
PROG='git blame -c -e'
|
|
|
|
test_expect_success 'Blame --show-email works' '
|
2011-04-22 02:07:36 +04:00
|
|
|
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 "<E at test dot git>" 1
|
2010-10-16 10:57:51 +04:00
|
|
|
'
|
|
|
|
|
2006-03-05 14:13:34 +03:00
|
|
|
test_done
|