Introduction
Introduction Statistics Contact Development Disclaimer Help
atom: add newline after date and before message - stagit - static git page gene…
git clone git://git.codemadness.org/stagit
Log
Files
Refs
README
LICENSE
---
commit 3cc1509656a45bd13151ff171544e7a500073d67
parent 12a96d466da342af96777fd94f0b12dd4b6484c0
Author: Hiltjo Posthuma <[email protected]>
Date: Thu, 7 Jan 2016 17:37:25 +0100
atom: add newline after date and before message
Diffstat:
M stagit.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git 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("&gt;\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);
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.