From b9e94c05c3c087079fa6631e37c0e50ccc05988b Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Tue, 15 Sep 2026 19:41:30 -1000 Subject: Apply the mailmap at HEAD to every ident --- source/ui-log.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/ui-log.c') diff --git a/source/ui-log.c b/source/ui-log.c index 8fe58f9..316df75 100644 --- a/source/ui-log.c +++ b/source/ui-log.c @@ -492,6 +492,8 @@ void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *pattern strvec_push(&rev_argv, path); repo_init_revisions(the_repository, &rev, NULL); + // The author and committer searches then match the mapped idents. + rev.mailmap = cgit_mailmap(); rev.abbrev = DEFAULT_ABBREV; rev.commit_format = CMIT_FMT_DEFAULT; rev.verbose_header = 1; -- cgit v2.8.0