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