diff options
Diffstat (limited to 'ui-refs.c')
-rw-r--r-- | ui-refs.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -77,7 +77,9 @@ static int print_branch(struct refinfo *ref) | |||
77 | if (ref->object->type == OBJ_COMMIT) { | 77 | if (ref->object->type == OBJ_COMMIT) { |
78 | cgit_commit_link(info->subject, NULL, NULL, name, NULL, NULL, 0); | 78 | cgit_commit_link(info->subject, NULL, NULL, name, NULL, NULL, 0); |
79 | html("</td><td>"); | 79 | html("</td><td>"); |
80 | cgit_open_filter(ctx.repo->email_filter, info->author_email); | ||
80 | html_txt(info->author); | 81 | html_txt(info->author); |
82 | cgit_close_filter(ctx.repo->email_filter); | ||
81 | html("</td><td colspan='2'>"); | 83 | html("</td><td colspan='2'>"); |
82 | cgit_print_age(info->commit->date, -1, NULL); | 84 | cgit_print_age(info->commit->date, -1, NULL); |
83 | } else { | 85 | } else { |
@@ -154,10 +156,15 @@ static int print_tag(struct refinfo *ref) | |||
154 | cgit_object_link(obj); | 156 | cgit_object_link(obj); |
155 | html("</td><td>"); | 157 | html("</td><td>"); |
156 | if (info) { | 158 | if (info) { |
157 | if (info->tagger) | 159 | if (info->tagger) { |
160 | cgit_open_filter(ctx.repo->email_filter, info->tagger_email); | ||
158 | html_txt(info->tagger); | 161 | html_txt(info->tagger); |
162 | cgit_close_filter(ctx.repo->email_filter); | ||
163 | } | ||
159 | } else if (ref->object->type == OBJ_COMMIT) { | 164 | } else if (ref->object->type == OBJ_COMMIT) { |
165 | cgit_open_filter(ctx.repo->email_filter, ref->commit->author_email); | ||
160 | html_txt(ref->commit->author); | 166 | html_txt(ref->commit->author); |
167 | cgit_close_filter(ctx.repo->email_filter); | ||
161 | } | 168 | } |
162 | html("</td><td colspan='2'>"); | 169 | html("</td><td colspan='2'>"); |
163 | if (info) { | 170 | if (info) { |