Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2010-05-04 06:58:04 +0400
committerJunio C Hamano <gitster@pobox.com>2010-05-05 02:29:56 +0400
commited715b5e393f922b7726460c348c8cb7eb7de49b (patch)
tree53a52dfa6d2a08d840f863538347b3eed2a66a94 /t/t4201-shortlog.sh
parentae00dc191a8da2309a6d7c68a254ede1357d877d (diff)
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>
Diffstat (limited to 't/t4201-shortlog.sh')
-rwxr-xr-xt/t4201-shortlog.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/t/t4201-shortlog.sh b/t/t4201-shortlog.sh
index 438a826473..6bfd0c0582 100755
--- a/t/t4201-shortlog.sh
+++ b/t/t4201-shortlog.sh
@@ -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