diff --git a/ui-repolist.c b/ui-repolist.c
index 97b11c5..1dad869 100644
--- a/ui-repolist.c
+++ b/ui-repolist.c
@@ -321,7 +321,9 @@ void cgit_print_repolist(void)
}
htmlf("
| ",
!sorted && section ? "sublevel-repo" : "toplevel-repo");
- cgit_summary_link(ctx.repo->name, NULL, NULL, NULL);
+ cgit_tree_link(ctx.repo->name, NULL, NULL, ctx.qry.head,
+ ctx.qry.has_oid ? ctx.qry.oid : NULL,
+ ctx.qry.path);
html(" | ");
repourl = cgit_repourl(ctx.repo->url);
html_link_open(repourl, NULL, NULL);
|