]> git.cameronkatri.com Git - cgit.git/blobdiff - cmd.c
ui-diff.c: create a control panel for diff options
[cgit.git] / cmd.c
diff --git a/cmd.c b/cmd.c
index 536515b7bb135dafefc5b5ed4e55c0dc7d2eb98a..05d5aaf44e70dd987eb151bffa238b33b946aeda 100644 (file)
--- 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)