Diffstat (limited to 'ui-summary.c')
| -rw-r--r-- | ui-summary.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ui-summary.c b/ui-summary.c index 29b76e3..4bda4c2 100644 --- a/ui-summary.c +++ b/ui-summary.c @@ -25,7 +25,11 @@ static int cgit_print_branch_cb(const char *refname, const unsigned char *sha1, if (commit && !parse_commit(commit)){ info = cgit_parse_commit(commit); html("<tr><td>"); - cgit_log_link(refname, NULL, NULL, refname, NULL, NULL); + url = cgit_pageurl(cgit_query_repo, "log", + fmt("h=%s", refname)); + html_link_open(url, NULL, NULL); + html_txt(buf); + html_link_close(); html("</td><td>"); cgit_print_age(commit->date, -1, NULL); html("</td><td>"); |