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>
This commit is contained in:
Jonathan Nieder 2010-05-03 21:58:04 -05:00 committed by Junio C Hamano
parent ae00dc191a
commit ed715b5e39

View file

@ -36,6 +36,10 @@ test_expect_success 'setup' '
echo 5 >a1 &&
git commit --quiet -m "a 12 34 56 78" a1
echo 6 >a1 &&
git commit --quiet -m "Commit by someone else" \
--author="Someone else <not!me>" a1
'
test_expect_success 'shortlog wrapping' '
@ -51,6 +55,9 @@ A U Thor (5):
a 12 34
56 78
Someone else (1):
Commit by someone else
EOF
git shortlog -w HEAD >out &&
test_cmp expect out