From 5bc04b59d3ca8db0c0e2677bfd689b6ee7face4b Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Fri, 30 Oct 2026 16:06:47 -0700 Subject: Keep the clone row and title docs in the header --- source/ui-shared.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'source/ui-shared.c') diff --git a/source/ui-shared.c b/source/ui-shared.c index 7049f70..b2a09ff 100644 --- a/source/ui-shared.c +++ b/source/ui-shared.c @@ -1575,12 +1575,6 @@ static void capture_http_clone_url(const char *url) http_clone_url = xstrdup(url); } -/* - * One row of the clone table. Every row is a link, but a browser cannot - * follow the ssh, scp or git forms, so those rows point at the first http - * url in the clone list, or at the repository's own page when the list has - * none. A colspan of zero leaves the attribute out. - */ void cgit_print_clone_row(const char *url, int colspan) { const char *href = url; @@ -1857,10 +1851,6 @@ void cgit_set_title_from_path(const char *path) ctx.page.title = strbuf_detach(&sb, NULL); } -/* - * Names the page ahead of the repository and the site, so that the pages of one - * repository can be told apart in tabs, history and search results. - */ void cgit_prefix_title(const char *name) { ctx.page.title = cgit_fmtalloc("%s - %s", name, -- cgit 2.12.1