aboutsummaryrefslogtreecommitdiff
path: root/cmd.c
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
Diffstat (limited to 'cmd.c')
-rw-r--r--cmd.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/cmd.c b/cmd.c
index 2b34189..03e165c 100644
--- a/cmd.c
+++ b/cmd.c
@@ -16,7 +16,6 @@
#include "ui-diff.h"
#include "ui-log.h"
#include "ui-patch.h"
-#include "ui-plain.h"
#include "ui-refs.h"
#include "ui-repolist.h"
#include "ui-snapshot.h"
@@ -86,11 +85,6 @@ static void patch_fn(struct cgit_context *ctx)
cgit_print_patch(ctx->qry.sha1);
}
-static void plain_fn(struct cgit_context *ctx)
-{
- cgit_print_plain(ctx);
-}
-
static void refs_fn(struct cgit_context *ctx)
{
cgit_print_refs();
@@ -134,7 +128,6 @@ struct cgit_cmd *cgit_get_cmd(struct cgit_context *ctx)
def_cmd(ls_cache, 0, 0),
def_cmd(objects, 1, 0),
def_cmd(patch, 1, 0),
- def_cmd(plain, 1, 0),
def_cmd(refs, 1, 1),
def_cmd(repolist, 0, 0),
def_cmd(snapshot, 1, 0),