|
diff --git a/ui-log.c b/ui-log.c index f3132c9..0947604 100644 --- a/ ui-log.c+++ b/ ui-log.c |
|
@@ -63,13 +63,13 @@ void show_commit_decorations(struct commit *commit) |
63 | sha1_to_hex(commit->object.sha1), NULL, |
63 | sha1_to_hex(commit->object.sha1), NULL, |
64 | 0, NULL, NULL, ctx.qry.showmsg); |
64 | 0, NULL, NULL, ctx.qry.showmsg); |
65 | } |
65 | } |
66 | else { |
66 | else { |
67 | strncpy(buf, deco->name, sizeof(buf) - 1); |
67 | strncpy(buf, deco->name, sizeof(buf) - 1); |
68 | cgit_commit_link(buf, NULL, "deco", ctx.qry.head, |
68 | cgit_commit_link(buf, NULL, "deco", ctx.qry.head, |
69 | sha1_to_hex(commit->object.sha1)); |
69 | sha1_to_hex(commit->object.sha1), 0); |
70 | } |
70 | } |
71 | deco = deco->next; |
71 | deco = deco->next; |
72 | } |
72 | } |
73 | } |
73 | } |
74 | |
74 | |
75 | void print_commit(struct commit *commit) |
75 | void print_commit(struct commit *commit) |
@@ -86,13 +86,13 @@ void print_commit(struct commit *commit) |
86 | html_link_open(tmp, NULL, NULL); |
86 | html_link_open(tmp, NULL, NULL); |
87 | cgit_print_age(commit->date, TM_WEEK * 2, FMT_SHORTDATE); |
87 | cgit_print_age(commit->date, TM_WEEK * 2, FMT_SHORTDATE); |
88 | html_link_close(); |
88 | html_link_close(); |
89 | htmlf("</td><td%s>", |
89 | htmlf("</td><td%s>", |
90 | ctx.qry.showmsg ? " class='logsubject'" : ""); |
90 | ctx.qry.showmsg ? " class='logsubject'" : ""); |
91 | cgit_commit_link(info->subject, NULL, NULL, ctx.qry.head, |
91 | cgit_commit_link(info->subject, NULL, NULL, ctx.qry.head, |
92 | sha1_to_hex(commit->object.sha1)); |
92 | sha1_to_hex(commit->object.sha1), 0); |
93 | show_commit_decorations(commit); |
93 | show_commit_decorations(commit); |
94 | html("</td><td>"); |
94 | html("</td><td>"); |
95 | html_txt(info->author); |
95 | html_txt(info->author); |
96 | if (ctx.repo->enable_log_filecount) { |
96 | if (ctx.repo->enable_log_filecount) { |
97 | files = 0; |
97 | files = 0; |
98 | add_lines = 0; |
98 | add_lines = 0; |
|