summaryrefslogtreecommitdiff
path: root/cmd.c
diff options
context:
space:
mode:
authorKent Overstreet <kmo@daterainc.com>2014-03-22 18:05:42 -0700
committerKent Overstreet <kmo@daterainc.com>2014-03-22 18:05:42 -0700
commit03de8b68f17396d7710d2584c6a6fc786c26279f (patch)
tree4c2b9125786e3ca99f7d208d62eeca1fdf4abb97 /cmd.c
parent88b93113235452d47e7ce474689327c43e64b843 (diff)
Add support for log output minus another branchHEADmaster
This lets you do the equivalent of git log ^ref1 ref2 by adding an id2 parameter to a log url
Diffstat (limited to 'cmd.c')
-rw-r--r--cmd.c6
1 files changed, 3 insertions, 3 deletions
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);
}