git-query
git data extraction tool using c and libgit2
git clone https://9o.is/git/git-query.git
commit 6da04c071f3099f0e0a79586443d9013e00e9455 parent 79bd73ed9a66992386e16145e667d09bd074f181 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Mon, 2 May 2016 21:23:17 +0200 style: write atom feed end in one write, kills 2 lines Diffstat:
| M | stagit.c | | | 4 | +--- |
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/stagit.c b/stagit.c @@ -668,9 +668,7 @@ printcommitatom(FILE *fp, struct commitinfo *ci) fputc('\n', fp); xmlencode(fp, ci->msg, strlen(ci->msg)); } - fputs("\n</content>\n", fp); - - fputs("</entry>\n", fp); + fputs("\n</content>\n</entry>\n", fp); } int