From bbeffc281df6838182ea17be4b915a6f0eb97570 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Fri, 21 Feb 2020 13:46:23 +0100 Subject: [PATCH] atom.xml: improve output format a bit --- stagit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)); -- libgit2 1.1.1