projects
/
forks
/
stagit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51ecd71
)
make author e-mail a link
author
Hiltjo Posthuma
<hiltjo@codemadness.org>
Mon, 7 Dec 2015 17:59:13 +0000
(18:59 +0100)
committer
Hiltjo Posthuma
<hiltjo@codemadness.org>
Mon, 7 Dec 2015 17:59:13 +0000
(18:59 +0100)
urmoms.c
patch
|
blob
|
history
diff --git
a/urmoms.c
b/urmoms.c
index db146f45caa554e69ecd757c7c55be3d95edce66..13c21e232f12cd603a1a6c6ecc01ac87cc2786f8 100644
(file)
--- a/
urmoms.c
+++ b/
urmoms.c
@@
-184,10
+184,13
@@
printcommit(FILE *fp, git_commit *commit)
if ((sig = git_commit_author(commit)) != NULL) {
fprintf(fp, "Author: ");
xmlencode(fp, sig->name, strlen(sig->name));
- fprintf(fp, " <");
+ fprintf(fp, " <
<a href=\"mailto:
");
xmlencode(fp, sig->email, strlen(sig->email));
- fprintf(fp, ">\nDate: ");
+ fputs("\">", fp);
+ xmlencode(fp, sig->email, strlen(sig->email));
+ fputs("</a>>\nDate: ", fp);
printtime(fp, &sig->when);
+ fputc('\n', fp);
}
fputc('\n', fp);