t4201 (shortlog): Test output format with multiple authors
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Jonathan Nieder committed
May 3, 2010 at 21:58 UTC
ed715b5e393f922b7726460c348c8cb7eb7de49b
1 file changed
+7
t/t4201-shortlog.sh
+7
@@ -36,6 +36,10 @@ test_expect_success 'setup' '
36
37
echo 5 >a1 &&
38
git commit --quiet -m "a 12 34 56 78" a1
39
+
40
+ echo 6 >a1 &&
41
+ git commit --quiet -m "Commit by someone else" \
42
+ --author="Someone else <not!me>" a1
43
'
44
45
test_expect_success 'shortlog wrapping' '
@@ -51,6 +55,9 @@ A U Thor (5):
55
a 12 34
56
56 78
57
58
+Someone else (1):
59
+ Commit by someone else
60
+
61
EOF
62
git shortlog -w HEAD >out &&
63
test_cmp expect out