X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/bc2f5a6d53fa8ec1dee3335dd6de4650f834231b..d2e20e38141c882e46eaa77f172fc2ae37a19d3b:/ui-commit.c?ds=sidebyside diff --git a/ui-commit.c b/ui-commit.c index 0783285..8310ce6 100644 --- a/ui-commit.c +++ b/ui-commit.c @@ -7,6 +7,7 @@ */ #include "cgit.h" +#include "ui-commit.h" #include "html.h" #include "ui-shared.h" #include "ui-diff.h" @@ -36,7 +37,8 @@ void cgit_print_commit(char *hex, const char *prefix) } info = cgit_parse_commit(commit); - format_note(NULL, sha1, ¬es, PAGE_ENCODING, 0); + init_display_notes(NULL); + format_display_notes(sha1, ¬es, PAGE_ENCODING, 0); load_ref_decorations(DECORATE_FULL_REFS);