]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.c
cgit: remember to set up env vars before empty clone path
[ps-cgit] / cgit.c
diff --git a/cgit.c b/cgit.c
index c16ed8c4885402970e535e1181a59fdd30d64382..ae413c629e96c7c4f98070796dc2ac3c4250b551 100644 (file)
--- 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("<table class='list'><tr class='nohover'><td>&nbsp;</td></tr><tr class='nohover'><th class='left'>Clone</th></tr>\n");
+                       cgit_prepare_repo_env(ctx.repo);
                        cgit_add_clone_urls(print_no_repo_clone_urls);
                        html("</table>\n");
                }