X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/6a8f65bf184d85a0c51ffecca16f48e6f4b1ff12..6940b23b9e4698ba466a4616e4de77b986560ad3:/ui-log.c diff --git a/ui-log.c b/ui-log.c index ee93653..0536b23 100644 --- a/ui-log.c +++ b/ui-log.c @@ -111,6 +111,9 @@ void print_commit(struct commit *commit) } html("\n"); if (ctx.qry.showmsg) { + struct strbuf notes = STRBUF_INIT; + format_note(NULL, commit->object.sha1, ¬es, PAGE_ENCODING, 0); + if (ctx.repo->enable_log_filecount) { cols++; if (ctx.repo->enable_log_linecount) @@ -120,6 +123,15 @@ void print_commit(struct commit *commit) cols); html_txt(info->msg); html("\n"); + if (notes.len != 0) { + html("