aboutsummaryrefslogtreecommitdiff
path: root/cmd.c
diff options
from:
to:
context:
space:
mode:
Diffstat (limited to 'cmd.c')
-rw-r--r--cmd.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/cmd.c b/cmd.c
index 0eb75b1..4c249c8 100644
--- a/cmd.c
+++ b/cmd.c
@@ -13,6 +13,7 @@
#include "ui-atom.h"
#include "ui-blame.h"
#include "ui-blob.h"
+#include "ui-ci.h"
#include "ui-clone.h"
#include "ui-commit.h"
#include "ui-diff.h"
@@ -77,6 +78,11 @@ static void blob_fn(void)
cgit_print_blob(ctx.qry.oid, ctx.qry.path, ctx.qry.head, 0);
}
+static void ci_fn(void)
+{
+ cgit_print_ci();
+}
+
static void commit_fn(void)
{
cgit_print_commit(ctx.qry.oid, ctx.qry.path);
@@ -175,6 +181,7 @@ struct cgit_cmd *cgit_get_cmd(void)
def_cmd(about, 0, 0, 0),
def_cmd(blame, 1, 1, 0),
def_cmd(blob, 1, 0, 0),
+ def_cmd(ci, 1, 0, 0),
def_cmd(commit, 1, 1, 0),
def_cmd(diff, 1, 1, 0),
def_cmd(info, 1, 0, 1),