ref_transaction_commit(): fix atomicity and avoid fd exhaustion
[gitweb.git] / t / t8002-blame.sh
index 597cf0486fbe1034594d3eec821f5278d9648d43..5cdf3f178e8b94481370bcc8385248ec88e46f2c 100755 (executable)
@@ -6,4 +6,17 @@ test_description='git blame'
 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