X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/dc3ac3f76077c5d612d42e8beb4878e43acfc58a..426032f767763b46f462de51d1ebded34f671d79:/cgit.c diff --git a/cgit.c b/cgit.c index e5d8fbd..1c213c7 100644 --- a/cgit.c +++ b/cgit.c @@ -94,17 +94,14 @@ static void cgit_print_repo_page(struct cacheitem *item) case CMD_LOG: cgit_print_log(cgit_query_head, cgit_query_ofs, cgit_max_commit_count, cgit_query_search, - cgit_query_path); + cgit_query_path, 1); break; case CMD_TREE: - cgit_print_tree(cgit_query_head, cgit_query_sha1, cgit_query_path); + cgit_print_tree(cgit_query_sha1, cgit_query_path); break; case CMD_COMMIT: cgit_print_commit(cgit_query_head); break; - case CMD_VIEW: - cgit_print_view(cgit_query_sha1, cgit_query_path); - break; case CMD_DIFF: cgit_print_diff(cgit_query_head, cgit_query_sha1, cgit_query_sha2, cgit_query_path);