Staging
v0.5.1
https://github.com/git/git
Raw File
Tip revision: 9eabf5b536662000f79978c4d1b6e4eff5c8d785 authored by Junio C Hamano on 26 May 2015, 20:49:59 UTC
Git 2.4.2
Tip revision: 9eabf5b
t8002-blame.sh
#!/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' '
	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
'

test_done
back to top