make author e-mail a link
This commit is contained in:
parent
51ecd71d5f
commit
17f9f53ea0
1 changed files with 5 additions and 2 deletions
7
urmoms.c
7
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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue