X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/aec9c245e7eaf444c7ae1851e3eda3b30748950f..c2b58ed8539fcfa4f05cc9da316bbc782f4b8f10:/ui-commit.c
diff --git a/ui-commit.c b/ui-commit.c
index 45af450..2da9fcf 100644
--- a/ui-commit.c
+++ b/ui-commit.c
@@ -36,7 +36,7 @@ void cgit_print_commit(char *hex, const char *prefix)
}
info = cgit_parse_commit(commit);
- get_commit_notes(commit, ¬es, PAGE_ENCODING, 0);
+ format_note(NULL, sha1, ¬es, PAGE_ENCODING, 0);
load_ref_decorations(DECORATE_FULL_REFS);
@@ -110,7 +110,7 @@ void cgit_print_commit(char *hex, const char *prefix)
html("\n");
html("
");
if (ctx.repo->commit_filter)
- cgit_open_filter(ctx.repo->commit_filter);
+ cgit_open_filter(ctx.repo->commit_filter, ctx.repo);
html_txt(info->subject);
if (ctx.repo->commit_filter)
cgit_close_filter(ctx.repo->commit_filter);
@@ -118,7 +118,7 @@ void cgit_print_commit(char *hex, const char *prefix)
html("
");
html("");
if (ctx.repo->commit_filter)
- cgit_open_filter(ctx.repo->commit_filter);
+ cgit_open_filter(ctx.repo->commit_filter, ctx.repo);
html_txt(info->msg);
if (ctx.repo->commit_filter)
cgit_close_filter(ctx.repo->commit_filter);
@@ -127,7 +127,7 @@ void cgit_print_commit(char *hex, const char *prefix)
html("");
html("
");
if (ctx.repo->commit_filter)
- cgit_open_filter(ctx.repo->commit_filter);
+ cgit_open_filter(ctx.repo->commit_filter, ctx.repo);
html_txt(notes.buf);
if (ctx.repo->commit_filter)
cgit_close_filter(ctx.repo->commit_filter);