atom: add newline after date and before message
This commit is contained in:
parent
12a96d466d
commit
3cc1509656
1 changed files with 4 additions and 3 deletions
7
stagit.c
7
stagit.c
|
@ -528,11 +528,12 @@ printcommitatom(FILE *fp, struct commitinfo *ci)
|
|||
xmlencode(fp, ci->author->email, strlen(ci->author->email));
|
||||
fputs(">\nDate: ", fp);
|
||||
printtime(fp, &(ci->author->when));
|
||||
fputc('\n', fp);
|
||||
}
|
||||
fputc('\n', fp);
|
||||
|
||||
if (ci->msg)
|
||||
if (ci->msg) {
|
||||
fputc('\n', fp);
|
||||
xmlencode(fp, ci->msg, strlen(ci->msg));
|
||||
}
|
||||
fputs("\n</content>\n", fp);
|
||||
if (ci->author) {
|
||||
fputs("<author><name>", fp);
|
||||
|
|
Loading…
Reference in a new issue