From bd24832cd7a72117afb7fa785f4e6bfa4324bf30 Mon Sep 17 00:00:00 2001 From: Jason A. Donenfeld Date: Thu, 5 Mar 2015 02:18:42 +0100 Subject: cgit: show clone URLs for empty repo --- cgit.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'cgit.c') diff --git a/cgit.c b/cgit.c index 02dddda..0ad8171 100644 --- a/cgit.c +++ b/cgit.c @@ -536,6 +536,17 @@ static void choose_readme(struct cgit_repo *repo) string_list_append(&repo->readme, filename)->util = ref; } +static void print_no_repo_clone_urls(const char *url) +{ + html("
Clone |
---|