summaryrefslogtreecommitdiff
path: root/tests/commit
diff options
context:
space:
mode:
Diffstat (limited to 'tests/commit')
-rw-r--r--tests/commit/parse.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/commit/parse.c b/tests/commit/parse.c
index 41e162440..fa079f470 100644
--- a/tests/commit/parse.c
+++ b/tests/commit/parse.c
@@ -262,6 +262,13 @@ gpgsig -----BEGIN PGP SIGNATURE-----\n\
-----END PGP SIGNATURE-----\n\
\n\
a simple commit which works\n",
+/* some tools create two author entries */
+"tree 1810dff58d8a660512d4832e740f692884338ccd\n\
+author Vicent Marti <tanoku@gmail.com> 1273848544 +0200\n\
+author Helpful Coworker <helpful@coworker> 1273848544 +0200\n\
+committer Vicent Marti <tanoku@gmail.com> 1273848544 +0200\n\
+\n\
+a simple commit which works",
};
static int parse_commit(git_commit **out, const char *buffer)