diff options
author | Johan Herland | 2010-06-10 01:09:32 +0200 |
---|---|---|
committer | Lars Hjemli | 2010-06-19 10:40:23 +0200 |
commit | ab42741c49d369e41c1e1915c6c024d79509f7d6 (patch) | |
tree | 428a18ea48b2b0c0a68f07a8a7fd7f61f590a247 /cmd.c | |
parent | c46e468dd229d5a20d99801072b4a8f8d970104f (diff) | |
download | cgit-ab42741c49d369e41c1e1915c6c024d79509f7d6.tar.gz cgit-ab42741c49d369e41c1e1915c6c024d79509f7d6.tar.bz2 cgit-ab42741c49d369e41c1e1915c6c024d79509f7d6.zip |
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>
Diffstat (limited to 'cmd.c')
-rw-r--r-- | cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -51,7 +51,7 @@ static void blob_fn(struct cgit_context *ctx) | |||
51 | 51 | ||
52 | static void commit_fn(struct cgit_context *ctx) | 52 | static void commit_fn(struct cgit_context *ctx) |
53 | { | 53 | { |
54 | cgit_print_commit(ctx->qry.sha1); | 54 | cgit_print_commit(ctx->qry.sha1, ctx->qry.path); |
55 | } | 55 | } |
56 | 56 | ||
57 | static void diff_fn(struct cgit_context *ctx) | 57 | static void diff_fn(struct cgit_context *ctx) |