Diffstat (limited to 'cgit.c')
| -rw-r--r-- | cgit.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -65,9 +65,6 @@ static void cgit_print_repo_page(struct cacheitem *item) char *title; int show_search; - if (!cgit_query_head) - cgit_query_head = cgit_repo->defbranch; - if (chdir(cgit_repo->path)) { title = fmt("%s - %s", cgit_root_title, "Bad request"); cgit_print_docstart(title, item); |