neocgit

a more 'modern' version of cgit
Log | Files | Refs | Submodules | README | LICENSE | git clone https://git.ne02ptzero.me/git/neocgit

commit f3ab1f178f6b7822fc701efbfc9dea8c294cb04f
parent 8eef4589d0ba80fd4e6a9ce2f3ca4fcf266a64e0
Author: Jason A. Donenfeld <Jason@zx2c4.com>
Date:   Sun,  8 Mar 2015 13:08:04 +0100

cgit: remember to set up env vars before empty clone path

Diffstat:
Mcgit.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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"); }