diff options
Diffstat (limited to 'cgit.c')
-rw-r--r-- | cgit.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -103,8 +103,7 @@ static void cgit_print_repo_page(struct cacheitem *item) | |||
103 | cgit_print_commit(cgit_query_sha1); | 103 | cgit_print_commit(cgit_query_sha1); |
104 | break; | 104 | break; |
105 | case CMD_DIFF: | 105 | case CMD_DIFF: |
106 | cgit_print_diff(cgit_query_head, cgit_query_sha1, cgit_query_sha2, | 106 | cgit_print_diff(cgit_query_sha1, cgit_query_sha2); |
107 | cgit_query_path); | ||
108 | break; | 107 | break; |
109 | default: | 108 | default: |
110 | cgit_print_error("Invalid request"); | 109 | cgit_print_error("Invalid request"); |