X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/426032f767763b46f462de51d1ebded34f671d79..48c487d72daef7e71683a85f775db8d36ab20341:/ui-summary.c?ds=sidebyside diff --git a/ui-summary.c b/ui-summary.c index 4bda4c2..29b76e3 100644 --- a/ui-summary.c +++ b/ui-summary.c @@ -25,11 +25,7 @@ static int cgit_print_branch_cb(const char *refname, const unsigned char *sha1, if (commit && !parse_commit(commit)){ info = cgit_parse_commit(commit); html(""); - url = cgit_pageurl(cgit_query_repo, "log", - fmt("h=%s", refname)); - html_link_open(url, NULL, NULL); - html_txt(buf); - html_link_close(); + cgit_log_link(refname, NULL, NULL, refname, NULL, NULL); html(""); cgit_print_age(commit->date, -1, NULL); html("");