Unidiff1 files changed, 1 insertions, 1 deletions
|
diff --git a/cmd.c b/cmd.c index 893ae25..605876b 100644 --- a/ cmd.c+++ b/ cmd.c |
|
@@ -85,17 +85,17 @@ static void objects_fn(struct cgit_context *ctx) |
85 | |
85 | |
86 | static void repolist_fn(struct cgit_context *ctx) |
86 | static void repolist_fn(struct cgit_context *ctx) |
87 | { |
87 | { |
88 | cgit_print_repolist(); |
88 | cgit_print_repolist(); |
89 | } |
89 | } |
90 | |
90 | |
91 | static void patch_fn(struct cgit_context *ctx) |
91 | static void patch_fn(struct cgit_context *ctx) |
92 | { |
92 | { |
93 | cgit_print_patch(ctx->qry.sha1); |
93 | cgit_print_patch(ctx->qry.sha1, ctx->qry.path); |
94 | } |
94 | } |
95 | |
95 | |
96 | static void plain_fn(struct cgit_context *ctx) |
96 | static void plain_fn(struct cgit_context *ctx) |
97 | { |
97 | { |
98 | cgit_print_plain(ctx); |
98 | cgit_print_plain(ctx); |
99 | } |
99 | } |
100 | |
100 | |
101 | static void refs_fn(struct cgit_context *ctx) |
101 | static void refs_fn(struct cgit_context *ctx) |
|