-rw-r--r-- | cgit.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -67,2 +67,5 @@ static void cgit_print_repo_page(struct cacheitem *item) | |||
67 | 67 | ||
68 | if (!cgit_query_head) | ||
69 | cgit_query_head = cgit_repo->defbranch; | ||
70 | |||
68 | if (chdir(cgit_repo->path)) { | 71 | if (chdir(cgit_repo->path)) { |