X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/2f56e390f04fe6975b75e512c1436ef173e4aafe..c94414a4c8cd099f5737e8b4066693d07ce78f61:/ui-commit.c?ds=sidebyside diff --git a/ui-commit.c b/ui-commit.c index 9fdb8ee..f5b0ae5 100644 --- a/ui-commit.c +++ b/ui-commit.c @@ -35,7 +35,7 @@ void cgit_print_commit(char *hex) } info = cgit_parse_commit(commit); - load_ref_decorations(); + load_ref_decorations(DECORATE_FULL_REFS); html("\n"); html("
author"); @@ -93,11 +93,19 @@ void cgit_print_commit(char *hex) } html("
\n"); html("
"); + 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("
"); html("
"); + 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("
"); if (parents < 3) { if (parents)