stagit

git site generator
Contents

regression: do not show unset or empty tags

Hiltjo Posthuma hiltjo@codemadness.org

commit: 9b81c17 parent: ed5ebde
1 files changed, 1 insertions(+), 1 deletions(-)
Mstagit.c+1-1
M · stagit.c +1, -1
1@@ -797,7 +797,7 @@ printcommitatom(FILE *fp, struct commitinfo
*ci, const char *tag)
2 }
3 if
(ci->summary) {
4
fputs("<title type=\"text\">", fp);
5- if (tag) {
6+ if (tag
&& tag[0]) {
7 fputs("[", fp);
8 xmlencode(fp, tag,
strlen(tag));
9 fputs("]
", fp);