aboutsummaryrefslogtreecommitdiff
path: root/cgit.c
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
Diffstat (limited to 'cgit.c')
-rw-r--r--cgit.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/cgit.c b/cgit.c
index 5bf52f8..ca318e8 100644
--- a/cgit.c
+++ b/cgit.c
@@ -587,12 +587,9 @@ 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. Initializing the notes system requires an
- * actual repository, as it would otherwise dereference the not yet known
- * hash algorithm. */
+ * the HOME variables are unset. */
setup_git_directory_gently(nongit);
- if (!*nongit)
- load_display_notes(NULL);
+ load_display_notes(NULL);
}
static int prepare_repo_cmd(int nongit)