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:
12a96d4
)
atom: add newline after date and before message
author
Hiltjo Posthuma
<hiltjo@codemadness.org>
Thu, 7 Jan 2016 16:37:25 +0000
(17:37 +0100)
committer
Hiltjo Posthuma
<hiltjo@codemadness.org>
Thu, 7 Jan 2016 16:37:25 +0000
(17:37 +0100)
stagit.c
patch
|
blob
|
history
diff --git
a/stagit.c
b/stagit.c
index f20f22794bbe5d8d312ac969aed6e9884bfb4bd9..ab62c8fcdae826347383bf44b162d5c60a250184 100644
(file)
--- a/
stagit.c
+++ b/
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);