From 5f35c55ed17abee54e39ea34f2dccc27b77d5671 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 31 Oct 2026 14:40:22 -0700 Subject: Print each person through one helper The log, refs and tag pages no longer open a filter of their own, so they stop including filter.h. --- source/ui-tag.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'source/ui-tag.c') diff --git a/source/ui-tag.c b/source/ui-tag.c index 04cbb8b..66ddf66 100644 --- a/source/ui-tag.c +++ b/source/ui-tag.c @@ -10,7 +10,6 @@ #define USE_THE_REPOSITORY_VARIABLE #include "cgit.h" -#include "filter.h" #include "html.h" #include "parsing.h" #include "ui-shared.h" @@ -37,13 +36,7 @@ static void print_date_row(struct taginfo *info) static void print_tagger_row(struct taginfo *info) { html("tagged by"); - cgit_open_filter(ctx.repo->email_filter, info->tagger_email, "tag"); - html_txt(info->tagger); - if (ctx.cfg.enable_plain_email) { - html(" "); - html_txt(info->tagger_email); - } - cgit_close_filter(ctx.repo->email_filter); + cgit_print_person(info->tagger, info->tagger_email, "tag", 1); html("\n"); } -- cgit