-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) + if (!cgit_query_head) + cgit_query_head = cgit_repo->defbranch; + if (chdir(cgit_repo->path)) { |
![]() |
index : patchwork/cgit.git | |
cgit - fast webinterface for git |
summaryrefslogtreecommitdiffabout |
-rw-r--r-- | cgit.c | 3 |
@@ -67,2 +67,5 @@ static void cgit_print_repo_page(struct cacheitem *item) + if (!cgit_query_head) + cgit_query_head = cgit_repo->defbranch; + if (chdir(cgit_repo->path)) { |