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