[PATCH] parsecvs: produce tagger fields acceptable to newer git versions
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
diff --git a/git.c b/git.c
index da320d1..8f94d1b 100644
--- a/git.c
+++ b/git.c
@@ -371,11 +371,13 @@ git_mktag (rev_commit *commit, char *name)
"object %s\n"
"type commit\n"
"tag %s\n"
- "tagger %s\n"
+ "tagger %s <%s> %lu +0000\n"
"\n",
commit->sha1,
name,
- author ? author->full : commit->author);
+ author ? author->full : commit->author,
+ author ? author->email : commit->author,
+ commit->date);
if (rv < 1) {
fprintf (stderr, "%s: %s\n", filename, strerror (errno));
fclose (f);