diff options
context:
space:
mode:
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Point clone rows at a url a browser can follow
Diffstat (limited to '')
-rw-r--r--source/ui-empty.c8
1 file changed, 1 insertion, 7 deletions
diff --git a/source/ui-empty.c b/source/ui-empty.c
index a65f49b..dd8dc64 100644
--- a/source/ui-empty.c
+++ b/source/ui-empty.c
@@ -13,13 +13,7 @@
static void print_clone_url(const char *url)
{
- html("<tr><td class='clone-url'><a rel='vcs-git' href='");
- html_url_path(url);
- html("' title='");
- html_attr(ctx.repo->name);
- html(" Git repository'>");
- html_txt(url);
- html("</a></td></tr>\n");
+ cgit_print_clone_row(url, 0);
}
/*