X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/445f6ae8e3ef19b6ca70e741e934778bc4a05555..750f6462c9e1e20e87d2bce5ca2e7fd10e0d1ba6:/cmd.c diff --git a/cmd.c b/cmd.c index 9893710..0202917 100644 --- a/cmd.c +++ b/cmd.c @@ -98,7 +98,7 @@ static void repolist_fn(struct cgit_context *ctx) static void patch_fn(struct cgit_context *ctx) { - cgit_print_patch(ctx->qry.sha1, ctx->qry.path); + cgit_print_patch(ctx->qry.sha1, ctx->qry.sha2, ctx->qry.path); } static void plain_fn(struct cgit_context *ctx)