diff options
Diffstat (limited to 'ui-tree.c')
-rw-r--r-- | ui-tree.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -110,6 +110,9 @@ static int ls_item(const unsigned char *sha1, const char *base, int baselen, | |||
110 | html("<td>"); | 110 | html("<td>"); |
111 | cgit_log_link("log", NULL, "button", ctx.qry.head, curr_rev, | 111 | cgit_log_link("log", NULL, "button", ctx.qry.head, curr_rev, |
112 | fullpath, 0, NULL, NULL, ctx.qry.showmsg); | 112 | fullpath, 0, NULL, NULL, ctx.qry.showmsg); |
113 | if (ctx.repo->max_stats) | ||
114 | cgit_stats_link("stats", NULL, "button", ctx.qry.head, | ||
115 | fullpath); | ||
113 | html("</td></tr>\n"); | 116 | html("</td></tr>\n"); |
114 | free(name); | 117 | free(name); |
115 | return 0; | 118 | return 0; |