X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/ab42741c49d369e41c1e1915c6c024d79509f7d6..afc40725c1bd5a25446a704995ce3a02270537df:/cmd.c diff --git a/cmd.c b/cmd.c index 893ae25..605876b 100644 --- a/cmd.c +++ b/cmd.c @@ -90,7 +90,7 @@ static void repolist_fn(struct cgit_context *ctx) static void patch_fn(struct cgit_context *ctx) { - cgit_print_patch(ctx->qry.sha1); + cgit_print_patch(ctx->qry.sha1, ctx->qry.path); } static void plain_fn(struct cgit_context *ctx)