summaryrefslogtreecommitdiff
path: root/cmd.c
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2011-03-06 22:59:56 +0000
committerLars Hjemli <hjemli@gmail.com>2011-03-06 22:59:56 +0000
commit962a24892feb9e3d69542bcf0a219dc14836e921 (patch)
tree991b67cd914a708d83f08dd7f859a9cadbb74490 /cmd.c
parent1a64fd2f83affda41fb9903b7c299d35170bfc05 (diff)
downloadcgit-962a24892feb9e3d69542bcf0a219dc14836e921.tar
cgit-962a24892feb9e3d69542bcf0a219dc14836e921.tar.gz
cgit-962a24892feb9e3d69542bcf0a219dc14836e921.zip
ui-diff.c: create a control panel for diff options
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cmd.c')
-rw-r--r--cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd.c b/cmd.c
index 536515b..05d5aaf 100644
--- a/cmd.c
+++ b/cmd.c
@@ -56,7 +56,7 @@ static void commit_fn(struct cgit_context *ctx)
static void diff_fn(struct cgit_context *ctx)
{
- cgit_print_diff(ctx->qry.sha1, ctx->qry.sha2, ctx->qry.path);
+ cgit_print_diff(ctx->qry.sha1, ctx->qry.sha2, ctx->qry.path, 1);
}
static void info_fn(struct cgit_context *ctx)