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-log.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'source/ui-log.c') diff --git a/source/ui-log.c b/source/ui-log.c index 128c01f..2211aa0 100644 --- a/source/ui-log.c +++ b/source/ui-log.c @@ -11,7 +11,6 @@ #define USE_THE_REPOSITORY_VARIABLE #include "cgit.h" -#include "filter.h" #include "html.h" #include "parsing.h" #include "shared.h" @@ -256,9 +255,7 @@ static void print_commit(struct commit *commit, struct rev_info *revs, int colum oid_to_hex(&commit->object.oid), ctx.qry.vpath); cgit_print_commit_decorations(commit); html(""); - cgit_open_filter(ctx.repo->email_filter, info->author_email ? info->author_email : "", "log"); - html_txt(info->author); - cgit_close_filter(ctx.repo->email_filter); + cgit_print_person(info->author, info->author_email, "log", 0); if (revs->graph) { html(""); -- cgit