From 03de8b68f17396d7710d2584c6a6fc786c26279f Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Sat, 22 Mar 2014 18:05:42 -0700 Subject: Add support for log output minus another branch This lets you do the equivalent of git log ^ref1 ref2 by adding an id2 parameter to a log url --- cmd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cmd.c') diff --git a/cmd.c b/cmd.c index 188cd56..253cbc3 100644 --- a/cmd.c +++ b/cmd.c @@ -71,9 +71,9 @@ static void info_fn(void) static void log_fn(void) { - 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.repo->enable_commit_graph, + cgit_print_log(ctx.qry.sha1, ctx.qry.sha2, ctx.qry.ofs, + ctx.cfg.max_commit_count, ctx.qry.grep, ctx.qry.search, + ctx.qry.path, 1, ctx.repo->enable_commit_graph, ctx.repo->commit_sort); } -- cgit v1.2.3