Better committer identity
This commit is contained in:
parent
ed941cd9e5
commit
9883c3517c
4
wp2git.d
4
wp2git.d
|
@ -33,8 +33,8 @@ int main(string[] args)
|
||||||
fwritefln(stderr, "Revision %s by %s: %s", child["id"].text, committer, summary);
|
fwritefln(stderr, "Revision %s by %s: %s", child["id"].text, committer, summary);
|
||||||
string text = child["text"].text;
|
string text = child["text"].text;
|
||||||
data ~=
|
data ~=
|
||||||
"commit master\n" ~
|
"commit refs/heads/master\n" ~
|
||||||
"committer <" ~ committer ~ "> now\n" ~
|
"committer " ~ committer ~ " <" ~ committer ~ "@en.wikipedia.org> now\n" ~
|
||||||
"data " ~ .toString(summary.length) ~ "\n" ~
|
"data " ~ .toString(summary.length) ~ "\n" ~
|
||||||
summary ~ "\n" ~
|
summary ~ "\n" ~
|
||||||
"M 644 inline " ~ name ~ ".txt\n" ~
|
"M 644 inline " ~ name ~ ".txt\n" ~
|
||||||
|
|
Loading…
Reference in New Issue