From 9883c3517c6b5040edc5102c2131eff165d533e3 Mon Sep 17 00:00:00 2001 From: Vladimir Panteleev Date: Wed, 16 Jun 2010 01:50:02 +0300 Subject: [PATCH] Better committer identity --- wp2git.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp2git.d b/wp2git.d index bbb813d..f2eddee 100644 --- a/wp2git.d +++ b/wp2git.d @@ -33,8 +33,8 @@ int main(string[] args) fwritefln(stderr, "Revision %s by %s: %s", child["id"].text, committer, summary); string text = child["text"].text; data ~= - "commit master\n" ~ - "committer <" ~ committer ~ "> now\n" ~ + "commit refs/heads/master\n" ~ + "committer " ~ committer ~ " <" ~ committer ~ "@en.wikipedia.org> now\n" ~ "data " ~ .toString(summary.length) ~ "\n" ~ summary ~ "\n" ~ "M 644 inline " ~ name ~ ".txt\n" ~