diff options
author | Lars Hjemli <hjemli@gmail.com> | 2009-08-09 13:46:01 +0200 |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2009-08-09 13:46:01 +0200 |
commit | db6303b58883c4417f5bcc0c1ee34fed6553dca3 (patch) | |
tree | ef7775ade9eef57c5a878f9588fe545a7da2c952 /ui-commit.c | |
parent | Merge branch 'lh/mimetypes' (diff) | |
parent | cgit.c: allow repo.*-filter options to unset the current default (diff) | |
download | cgit-pink-db6303b58883c4417f5bcc0c1ee34fed6553dca3.tar.gz cgit-pink-db6303b58883c4417f5bcc0c1ee34fed6553dca3.zip |
Merge branch 'lh/plugins'
Conflicts: cgit.c cgit.h
Diffstat (limited to '')
-rw-r--r-- | ui-commit.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ui-commit.c b/ui-commit.c index 9fdb8ee..d6b73ee 100644 --- a/ui-commit.c +++ b/ui-commit.c @@ -93,11 +93,19 @@ void cgit_print_commit(char *hex) } html("</table>\n"); html("<div class='commit-subject'>"); + if (ctx.repo->commit_filter) + cgit_open_filter(ctx.repo->commit_filter); html_txt(info->subject); + if (ctx.repo->commit_filter) + cgit_close_filter(ctx.repo->commit_filter); show_commit_decorations(commit); html("</div>"); html("<div class='commit-msg'>"); + if (ctx.repo->commit_filter) + cgit_open_filter(ctx.repo->commit_filter); html_txt(info->msg); + if (ctx.repo->commit_filter) + cgit_close_filter(ctx.repo->commit_filter); html("</div>"); if (parents < 3) { if (parents) |