X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/60fcf600f5010701c20b63867999a802ca0e05c0..682adbc0cad2baa1a6119013b166f52de3ee3352:/ui-commit.c diff --git a/ui-commit.c b/ui-commit.c index a11bc5f..2b4f677 100644 --- a/ui-commit.c +++ b/ui-commit.c @@ -17,6 +17,7 @@ void cgit_print_commit(char *hex, const char *prefix) struct commit *commit, *parent; struct commitinfo *info, *parent_info; struct commit_list *p; + struct strbuf notes = STRBUF_INIT; unsigned char sha1[20]; char *tmp, *tmp2; int parents = 0; @@ -35,6 +36,8 @@ void cgit_print_commit(char *hex, const char *prefix) } info = cgit_parse_commit(commit); + format_note(NULL, sha1, ¬es, PAGE_ENCODING, 0); + load_ref_decorations(DECORATE_FULL_REFS); html("