Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Keep the clone row and title docs in the header
Diffstat (limited to '')
-rw-r--r--source/ui-shared.c10
1 file changed, 0 insertions, 10 deletions
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,