X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/a922615dae5d1f7b932dd1fc5a5f121748d96c5a..486c87ec2906c445ca505c877720d56e02aed784:/cgit.c diff --git a/cgit.c b/cgit.c index 34e590e..1c213c7 100644 --- a/cgit.c +++ b/cgit.c @@ -97,14 +97,11 @@ static void cgit_print_repo_page(struct cacheitem *item) 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);