ui-patch: Apply path limit to generated patch

Also indicate in the comment section of the patch that a path limit was
applied, too easily see when a generated patch is only partial.

Signed-off-by: Johan Herland <johan@herland.net>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
这个提交包含在:
Johan Herland
2010-06-10 01:09:33 +02:00
提交者 Lars Hjemli
父节点 ab42741c49
当前提交 eac1b67541
共有 6 个文件被更改,包括 10 次插入8 次删除

2
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)