diff options
author | Hiltjo Posthuma <[email protected]> | 2020-07-20 14:15:12 +0200 |
---|---|---|
committer | Hiltjo Posthuma <[email protected]> | 2020-07-20 14:15:12 +0200 |
commit | f05e6b0fcb3b874180970d06ebcde05fb5aea470 (patch) | |
tree | 954c37b9c4f360bcc7be8427278224e3474803b7 | |
parent | d80a163acd47df2bd9ab145be6b249814aa9eceb (diff) | |
download | stagit-f05e6b0fcb3b874180970d06ebcde05fb5aea470.tar.gz stagit-f05e6b0fcb3b874180970d06ebcde05fb5aea470.zip |
regression: do not show unset or empty tags
-rw-r--r-- | stagit.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |