mirror of
https://git.zx2c4.com/cgit
synced 2025-08-14 22:52:23 +02:00
ui-commit: Limit diff based on path limit in qry.path
Signed-off-by: Johan Herland <johan@herland.net> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
parent
c46e468dd2
commit
ab42741c49
3 changed files with 4 additions and 4 deletions
2
cmd.c
2
cmd.c
|
@ -51,7 +51,7 @@ static void blob_fn(struct cgit_context *ctx)
|
|||
|
||||
static void commit_fn(struct cgit_context *ctx)
|
||||
{
|
||||
cgit_print_commit(ctx->qry.sha1);
|
||||
cgit_print_commit(ctx->qry.sha1, ctx->qry.path);
|
||||
}
|
||||
|
||||
static void diff_fn(struct cgit_context *ctx)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue