atom: add newline after date and before message
1 files changed, 4 insertions(+), 3 deletions(-) | |||
---|---|---|---|
M | stagit.c | +4 | -3 |
1@@ -528,11 +528,12 @@ printcommitatom(FILE *fp, struct commitinfo *ci)
2 xmlencode(fp, ci->author->email, strlen(ci->author->email));
3 fputs(">\nDate: ", fp);
4 printtime(fp, &(ci->author->when));
5+ fputc('\n', fp);
6 }
7- fputc('\n', fp);
8-
9- if (ci->msg)
10+ if (ci->msg) {
11+ fputc('\n', fp);
12 xmlencode(fp, ci->msg, strlen(ci->msg));
13+ }
14 fputs("\n</content>\n", fp);
15 if (ci->author) {
16 fputs("<author><name>", fp);