summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--cgit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cgit.c b/cgit.c
index 763242a..6ec763f 100644
--- a/cgit.c
+++ b/cgit.c
@@ -442,2 +442,3 @@ int main(int argc, const char **argv)
config_cb);
+ ctx.repo = NULL;
if (getenv("SCRIPT_NAME"))