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