Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
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.
Diffstat (limited to 'source/ui-log.c')
| -rw-r--r-- | source/ui-log.c | 5 |
1 file changed, 1 insertion, 4 deletions
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("</td><td class='col-author'>"); - 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("</td><td>"); |
