projects
/
forks
/
stagit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d80a163
)
regression: do not show unset or empty tags
author
Hiltjo Posthuma
<hiltjo@codemadness.org>
Mon, 20 Jul 2020 12:15:12 +0000
(14:15 +0200)
committer
Hiltjo Posthuma
<hiltjo@codemadness.org>
Mon, 20 Jul 2020 12:15:12 +0000
(14:15 +0200)
stagit.c
patch
|
blob
|
history
diff --git
a/stagit.c
b/stagit.c
index ff81b53221eaae64de22a35e292f9157331b1d2c..0377ad80674786725eb5917cca921597b5c63fa9 100644
(file)
--- 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);