From: Jim Meyering <jim@meyering.net>
To: Lennert Buytenhek <buytenh@wantstofly.org>
Cc: keithp@keithp.com, git@vger.kernel.org, jay@gnu.org, kedars@marvell.com
Subject: Re: [PATCH] parsecvs: produce tagger fields acceptable to newer git versions
Date: Mon, 19 Jan 2009 13:44:06 +0100 [thread overview]
Message-ID: <87ab9nbh49.fsf@meyering.net> (raw)
In-Reply-To: <20090119120217.GD4390@xi.wantstofly.org> (Lennert Buytenhek's message of "Mon, 19 Jan 2009 13:02:17 +0100")
Lennert Buytenhek <buytenh@wantstofly.org> wrote:
> 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);
Hi Lennert,
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.
>From 93bc277dff113f1133ef25b8bb985af80f1fbe0e Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@redhat.com>
Date: Thu, 6 Nov 2008 11:35:09 +0100
Subject: [PATCH 2/2] * tree.c (init_tree): Adapt to new git_config API.
---
tree.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tree.c b/tree.c
index a76f27c..e2a041c 100644
--- a/tree.c
+++ b/tree.c
@@ -177,7 +177,7 @@ rev_commit *create_tree(rev_commit *leader)
void init_tree(int n)
{
- git_config(git_default_config);
+ git_config(git_default_config, NULL);
strip = n;
}
--
1.6.1.331.g9c367
next prev parent reply other threads:[~2009-01-19 12:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-19 12:02 [PATCH] parsecvs: produce tagger fields acceptable to newer git versions Lennert Buytenhek
2009-01-19 12:44 ` Jim Meyering [this message]
2009-01-19 13:39 ` Lennert Buytenhek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ab9nbh49.fsf@meyering.net \
--to=jim@meyering.net \
--cc=buytenh@wantstofly.org \
--cc=git@vger.kernel.org \
--cc=jay@gnu.org \
--cc=kedars@marvell.com \
--cc=keithp@keithp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox