cgit: remember to set up env vars before empty clone path
Cette révision appartient à :
Parent
8eef4589d0
révision
f3ab1f178f
1
cgit.c
1
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> </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");
|
||||
}
|
||||
|
Chargement…
Référencer dans un nouveau ticket
Block a user