X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/445f6ae8e3ef19b6ca70e741e934778bc4a05555..e83b51b4f6bd53efea0c772e6ecdf1c5605ca611:/cmd.c diff --git a/cmd.c b/cmd.c index 9893710..420b3b1 100644 --- a/cmd.c +++ b/cmd.c @@ -1,7 +1,6 @@ /* cmd.c: the cgit command dispatcher * - * Copyright (C) 2008 Lars Hjemli - * Copyright (C) 2013 Jason A. Donenfeld . + * Copyright (C) 2006-2014 cgit Development Team * * Licensed under GNU General Public License v2 * (see COPYING for full license text) @@ -98,7 +97,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)