Unidiff1 files changed, 1 insertions, 1 deletions
|
diff --git a/ui-log.c b/ui-log.c index 7f38d2a..0536b23 100644 --- a/ ui-log.c+++ b/ ui-log.c |
|
@@ -103,25 +103,25 @@ void print_commit(struct commit *commit) |
103 | rem_lines = 0; |
103 | rem_lines = 0; |
104 | cgit_diff_commit(commit, inspect_files); |
104 | cgit_diff_commit(commit, inspect_files); |
105 | html("</td><td>"); |
105 | html("</td><td>"); |
106 | htmlf("%d", files); |
106 | htmlf("%d", files); |
107 | if (ctx.repo->enable_log_linecount) { |
107 | if (ctx.repo->enable_log_linecount) { |
108 | html("</td><td>"); |
108 | html("</td><td>"); |
109 | htmlf("-%d/+%d", rem_lines, add_lines); |
109 | htmlf("-%d/+%d", rem_lines, add_lines); |
110 | } |
110 | } |
111 | } |
111 | } |
112 | html("</td></tr>\n"); |
112 | html("</td></tr>\n"); |
113 | if (ctx.qry.showmsg) { |
113 | if (ctx.qry.showmsg) { |
114 | struct strbuf notes = STRBUF_INIT; |
114 | struct strbuf notes = STRBUF_INIT; |
115 | get_commit_notes(commit, ¬es, PAGE_ENCODING, 0); |
115 | format_note(NULL, commit->object.sha1, ¬es, PAGE_ENCODING, 0); |
116 | |
116 | |
117 | if (ctx.repo->enable_log_filecount) { |
117 | if (ctx.repo->enable_log_filecount) { |
118 | cols++; |
118 | cols++; |
119 | if (ctx.repo->enable_log_linecount) |
119 | if (ctx.repo->enable_log_linecount) |
120 | cols++; |
120 | cols++; |
121 | } |
121 | } |
122 | htmlf("<tr class='nohover'><td/><td colspan='%d' class='logmsg'>", |
122 | htmlf("<tr class='nohover'><td/><td colspan='%d' class='logmsg'>", |
123 | cols); |
123 | cols); |
124 | html_txt(info->msg); |
124 | html_txt(info->msg); |
125 | html("</td></tr>\n"); |
125 | html("</td></tr>\n"); |
126 | if (notes.len != 0) { |
126 | if (notes.len != 0) { |
127 | html("<tr class='nohover'>"); |
127 | html("<tr class='nohover'>"); |
|