diff options
author | Jason A. Donenfeld | 2015-03-08 13:08:04 +0100 |
---|---|---|
committer | Jason A. Donenfeld | 2015-03-09 17:42:12 +0100 |
commit | f3ab1f178f6b7822fc701efbfc9dea8c294cb04f (patch) | |
tree | a6d095bf547d5d6d57feb32788ddb120737dfd50 | |
parent | 8eef4589d0ba80fd4e6a9ce2f3ca4fcf266a64e0 (diff) | |
download | cgit-f3ab1f178f6b7822fc701efbfc9dea8c294cb04f.tar.gz cgit-f3ab1f178f6b7822fc701efbfc9dea8c294cb04f.tar.bz2 cgit-f3ab1f178f6b7822fc701efbfc9dea8c294cb04f.zip |
cgit: remember to set up env vars before empty clone path
-rw-r--r-- | cgit.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -599,6 +599,7 @@ static int prepare_repo_cmd(void) | |||
599 | cgit_print_error("Repository seems to be empty"); | 599 | cgit_print_error("Repository seems to be empty"); |
600 | if (!strcmp(ctx.qry.page, "summary")) { | 600 | if (!strcmp(ctx.qry.page, "summary")) { |
601 | html("<table class='list'><tr class='nohover'><td> </td></tr><tr class='nohover'><th class='left'>Clone</th></tr>\n"); | 601 | html("<table class='list'><tr class='nohover'><td> </td></tr><tr class='nohover'><th class='left'>Clone</th></tr>\n"); |
602 | cgit_prepare_repo_env(ctx.repo); | ||
602 | cgit_add_clone_urls(print_no_repo_clone_urls); | 603 | cgit_add_clone_urls(print_no_repo_clone_urls); |
603 | html("</table>\n"); | 604 | html("</table>\n"); |
604 | } | 605 | } |