X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/17e3ff42646f182911fd0e5d872082977538db9e..8d946079c5f51ce934ff5edf6333962c6061d8a5:/ui-commit.c 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)