Skip to content

Commit

Permalink
t4201 (shortlog): Test output format with multiple authors
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Jonathan Nieder authored and Junio C Hamano committed May 4, 2010
1 parent ae00dc1 commit ed715b5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions t/t4201-shortlog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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' '
Expand All @@ -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
Expand Down

0 comments on commit ed715b5

Please sign in to comment.