summaryrefslogtreecommitdiffabout
path: root/cgit.c
Side-by-side diff
Diffstat (limited to 'cgit.c') (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/cgit.c b/cgit.c
index c86d290..cc18ed4 100644
--- a/cgit.c
+++ b/cgit.c
@@ -105,2 +105,5 @@ static void cgit_print_repo_page(struct cacheitem *item)
break;
+ case CMD_REFS:
+ cgit_print_refs();
+ break;
case CMD_TAG:
@@ -109,3 +112,3 @@ static void cgit_print_repo_page(struct cacheitem *item)
case CMD_DIFF:
- cgit_print_diff(cgit_query_sha1, cgit_query_sha2);
+ cgit_print_diff(cgit_query_sha1, cgit_query_sha2, cgit_query_path);
break;