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