X-Git-Url: https://git.cameronkatri.com/cgit.git/blobdiff_plain/5c5d189635287a3bfaa1a4aef133dc0c582a27c2..962a24892feb9e3d69542bcf0a219dc14836e921:/cmd.c diff --git a/cmd.c b/cmd.c index 6dc9f5e..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) @@ -67,7 +67,8 @@ static void info_fn(struct cgit_context *ctx) static void log_fn(struct cgit_context *ctx) { cgit_print_log(ctx->qry.sha1, ctx->qry.ofs, ctx->cfg.max_commit_count, - ctx->qry.grep, ctx->qry.search, ctx->qry.path, 1); + ctx->qry.grep, ctx->qry.search, ctx->qry.path, 1, + ctx->repo->enable_commit_graph); } static void ls_cache_fn(struct cgit_context *ctx)