From f3ab1f178f6b7822fc701efbfc9dea8c294cb04f Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Sun, 8 Mar 2015 13:08:04 +0100 Subject: cgit: remember to set up env vars before empty clone path --- cgit.c | 1 + 1 file changed, 1 insertion(+) (limited to 'cgit.c') diff --git a/cgit.c b/cgit.c index c16ed8c..ae413c6 100644 --- a/cgit.c +++ b/cgit.c @@ -599,6 +599,7 @@ static int prepare_repo_cmd(void) cgit_print_error("Repository seems to be empty"); if (!strcmp(ctx.qry.page, "summary")) { html("\n"); + cgit_prepare_repo_env(ctx.repo); cgit_add_clone_urls(print_no_repo_clone_urls); html("
 
Clone
\n"); } -- cgit v1.2.3-18-g5258