]> gitweb.ps.run Git - ps-cgit/blobdiff - cmd.c
Allow for creating patch series
[ps-cgit] / cmd.c
diff --git a/cmd.c b/cmd.c
index 9893710b70bb4d5bee8ec0f968cac02a49729fe3..0202917e6c7366fdd6e95e3cde3c39198e6968f6 100644 (file)
--- 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)