diff options
| author | Johan Herland <[email protected]> | 2010-06-09 23:09:33 +0000 |
|---|---|---|
| committer | Lars Hjemli <[email protected]> | 2010-06-19 08:40:23 +0000 |
| commit | eac1b675414722ae90df75abc727b2795bc096f0 (patch) | |
| tree | 4deb6c0ac103ab2f42750d6c7230d45366eb1732 /cmd.c | |
| parent | ui-commit: Limit diff based on path limit in qry.path (diff) | |
| download | cgit-eac1b675414722ae90df75abc727b2795bc096f0.tar.gz cgit-eac1b675414722ae90df75abc727b2795bc096f0.zip | |
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 <[email protected]>
Signed-off-by: Lars Hjemli <[email protected]>
Diffstat (limited to 'cmd.c')
| -rw-r--r-- | cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |
