From: Hiltjo Posthuma Date: Fri, 21 Feb 2020 12:46:23 +0000 (+0100) Subject: atom.xml: improve output format a bit X-Git-Url: https://git.armaanb.net/?p=stagit.git;a=commitdiff_plain;h=bbeffc281df6838182ea17be4b915a6f0eb97570 atom.xml: improve output format a bit --- diff --git a/stagit.c b/stagit.c index affa318..7ff036f 100644 --- a/stagit.c +++ b/stagit.c @@ -694,11 +694,11 @@ printcommitatom(FILE *fp, struct commitinfo *ci) xmlencode(fp, ci->summary, strlen(ci->summary)); fputs("\n", fp); } - fprintf(fp, "", + fprintf(fp, "\n", ci->oid); if (ci->author) { - fputs("", fp); + fputs("\n", fp); xmlencode(fp, ci->author->name, strlen(ci->author->name)); fputs("\n", fp); xmlencode(fp, ci->author->email, strlen(ci->author->email));