iregression: do not show unset or empty tags - stagit-gopher - A git gopher frontend. (mirror) Err bitreich.org 70 hgit clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/ URL:git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/ bitreich.org 70 1Log /scm/stagit-gopher/log.gph bitreich.org 70 1Files /scm/stagit-gopher/files.gph bitreich.org 70 1Refs /scm/stagit-gopher/refs.gph bitreich.org 70 1Tags /scm/stagit-gopher/tag bitreich.org 70 1README /scm/stagit-gopher/file/README.gph bitreich.org 70 1LICENSE /scm/stagit-gopher/file/LICENSE.gph bitreich.org 70 i--- Err bitreich.org 70 1commit f939dd0767be55df7983178f51c85d3e55054056 /scm/stagit-gopher/commit/f939dd0767be55df7983178f51c85d3e55054056.gph bitreich.org 70 1parent 08a0a0113440d0f80b5f68c596c50e3188b8f9e1 /scm/stagit-gopher/commit/08a0a0113440d0f80b5f68c596c50e3188b8f9e1.gph bitreich.org 70 hAuthor: Hiltjo Posthuma URL:mailto:hiltjo@codemadness.org bitreich.org 70 iDate: Mon, 20 Jul 2020 14:16:11 +0200 Err bitreich.org 70 i Err bitreich.org 70 iregression: do not show unset or empty tags Err bitreich.org 70 i Err bitreich.org 70 iDiffstat: Err bitreich.org 70 i M stagit-gopher.c | 2 +- Err bitreich.org 70 i Err bitreich.org 70 i1 file changed, 1 insertion(+), 1 deletion(-) Err bitreich.org 70 i--- Err bitreich.org 70 1diff --git a/stagit-gopher.c b/stagit-gopher.c /scm/stagit-gopher/file/stagit-gopher.c.gph bitreich.org 70 i@@ -881,7 +881,7 @@ printcommitatom(FILE *fp, struct commitinfo *ci, const char *tag) Err bitreich.org 70 i } Err bitreich.org 70 i if (ci->summary) { Err bitreich.org 70 i fputs("", fp); Err bitreich.org 70 i- if (tag) { Err bitreich.org 70 i+ if (tag && tag[0]) { Err bitreich.org 70 i fputs("[", fp); Err bitreich.org 70 i xmlencode(fp, tag, strlen(tag)); Err bitreich.org 70 i fputs("] ", fp); Err bitreich.org 70 .