diff options
Diffstat (limited to 'cgit.c')
-rw-r--r-- | cgit.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -75,6 +75,11 @@ static void cgit_print_repo_page(struct cacheitem *item) | |||
75 | return; | 75 | return; |
76 | } | 76 | } |
77 | 77 | ||
78 | if (cgit_cmd == CMD_PATCH) { | ||
79 | cgit_print_patch(cgit_query_sha1, item); | ||
80 | return; | ||
81 | } | ||
82 | |||
78 | if (cgit_cmd == CMD_BLOB) { | 83 | if (cgit_cmd == CMD_BLOB) { |
79 | cgit_print_blob(item, cgit_query_sha1, cgit_query_path); | 84 | cgit_print_blob(item, cgit_query_sha1, cgit_query_path); |
80 | return; | 85 | return; |