stagit

personal fork of stagit (rnpnr branch)
git clone anongit@rnpnr.xyz:stagit.git
Log | Files | Refs | Feed | README | LICENSE

Commit: f05e6b0fcb3b874180970d06ebcde05fb5aea470
Parent: d80a163acd47df2bd9ab145be6b249814aa9eceb
Author: Hiltjo Posthuma
Date:   Mon, 20 Jul 2020 14:15:12 +0200

regression: do not show unset or empty tags

Diffstat:
Mstagit.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stagit.c b/stagit.c @@ -797,7 +797,7 @@ printcommitatom(FILE *fp, struct commitinfo *ci, const char *tag) } if (ci->summary) { fputs("<title type=\"text\">", fp); - if (tag) { + if (tag && tag[0]) { fputs("[", fp); xmlencode(fp, tag, strlen(tag)); fputs("] ", fp);