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-commit.c | 19 +++++-------------- source/ui-log.c | 5 +---- source/ui-refs.c | 22 ++++------------------ source/ui-shared.c | 12 ++++++++++++ source/ui-shared.h | 7 +++++++ source/ui-tag.c | 9 +-------- 6 files changed, 30 insertions(+), 44 deletions(-) (limited to 'source') diff --git a/source/ui-commit.c b/source/ui-commit.c index 4882f3a..8e88faf 100644 --- a/source/ui-commit.c +++ b/source/ui-commit.c @@ -30,13 +30,7 @@ static void print_ident_row(const char *role, const char *name, const char *emai timestamp_t date, int tz) { htmlf("%s", role); - cgit_open_filter(ctx.repo->email_filter, email ? email : "", "commit"); - html_txt(name); - if (ctx.cfg.enable_plain_email) { - html(" "); - html_txt(email); - } - cgit_close_filter(ctx.repo->email_filter); + cgit_print_person(name, email, "commit", 1); html("