]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.c
More layout fixes
[ps-cgit] / cgit.c
diff --git a/cgit.c b/cgit.c
index 763242abc4258779fe5daa0ed8cec8c6bcb3bc43..6ec763fc670d04af532eaa4570b474533d02081a 100644 (file)
--- a/cgit.c
+++ b/cgit.c
@@ -440,6 +440,7 @@ int main(int argc, const char **argv)
 
        parse_configfile(cgit_config_env ? cgit_config_env : CGIT_CONFIG,
                         config_cb);
+       ctx.repo = NULL;
        if (getenv("SCRIPT_NAME"))
                ctx.cfg.script_name = xstrdup(getenv("SCRIPT_NAME"));
        if (getenv("QUERY_STRING"))