Thread (2 messages) 2 messages, 2 authors, 2016-06-15

Re: [PATCH] parsecvs: produce tagger fields acceptable to newer git versions

From: Lennert Buytenhek <hidden>
Date: 2016-06-15 22:45:59

Possibly related (same subject, not in this thread)

On Mon, Jan 19, 2009 at 01:44:06PM +0100, Jim Meyering wrote:
quoted
Signed-off-by: Lennert Buytenhek <redacted>
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);
Hi Lennert,
Hey Jim,

I posted the same patch a while back.

    http://markmail.org/message/cebh7suc7ejpayos

However, I never heard back.
You'll also need the patch below, if you're building
against a newer version of git.
Can you make your parsecvs repository available somewhere?


thanks,
Lennert
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help