Unidiff1 files changed, 12 insertions, 0 deletions
|
diff --git a/ui-log.c b/ui-log.c index ee93653..7f38d2a 100644 --- a/ ui-log.c+++ b/ ui-log.c |
|
@@ -113,2 +113,5 @@ void print_commit(struct commit *commit) |
113 | if (ctx.qry.showmsg) { |
113 | if (ctx.qry.showmsg) { |
| |
114 | struct strbuf notes = STRBUF_INIT; |
| |
115 | get_commit_notes(commit, ¬es, PAGE_ENCODING, 0); |
| |
116 | |
114 | if (ctx.repo->enable_log_filecount) { |
117 | if (ctx.repo->enable_log_filecount) { |
@@ -122,2 +125,11 @@ void print_commit(struct commit *commit) |
122 | html("</td></tr>\n"); |
125 | html("</td></tr>\n"); |
| |
126 | if (notes.len != 0) { |
| |
127 | html("<tr class='nohover'>"); |
| |
128 | html("<td class='lognotes-label'>Notes:</td>"); |
| |
129 | htmlf("<td colspan='%d' class='lognotes'>", |
| |
130 | cols); |
| |
131 | html_txt(notes.buf); |
| |
132 | html("</td></tr>\n"); |
| |
133 | } |
| |
134 | strbuf_release(¬es); |
123 | } |
135 | } |
|