regression: do not show unset or empty tags
This commit is contained in:
parent
d80a163acd
commit
f05e6b0fcb
1 changed files with 1 additions and 1 deletions
2
stagit.c
2
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);
|
||||
|
|
Loading…
Reference in a new issue