stagit

Fork of stagit (git://git.codemadness.org/stagit) with personal tweaks.
git clone https://git.philomathiclife.com/repos/stagit
Log | Files | Refs | README | LICENSE

commit f5301b25e1f78db67031354bfc0cb76ffe60000e
parent 1a3584e2d0689aece46d9832c91f57723296807f
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:
Mstagit.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