Diffstat (limited to 'cgit.c')
| -rw-r--r-- | cgit.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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) |