aboutsummaryrefslogtreecommitdiffstats
path: root/cgit.c
diff options
context:
space:
mode:
Diffstat (limited to 'cgit.c')
-rw-r--r--cgit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgit.c b/cgit.c
index ca318e8..3b9d3aa 100644
--- a/cgit.c
+++ b/cgit.c
@@ -588,7 +588,7 @@ static void prepare_repo_env(int *nongit)
/* Setup the git directory and initialize the notes system. Both of these
* load local configuration from the git repository, so we do them both while
* the HOME variables are unset. */
- setup_git_directory_gently(nongit);
+ setup_git_directory_gently(the_repository, nongit);
load_display_notes(NULL);
}