Website Summary Files Commits Branches @commit @diff @stats
path: root / cmd.c
diff options
context:
space:
mode:
Commit3b220eb22ded98851ca9dee7c3c3e3b0fd02c49b (patch)
Author
 John Keeping <john@keeping.me.uk>
2015-08-14 12:47:14 +0100
Committer
 Jason A. Donenfeld <Jason@zx2c4.com>
2015-08-14 15:46:51 +0200
Files77573441ad15b57a4f62ecaac847461fd0e7e49f /cmd.c
cgit-3b220eb22ded98851ca9dee7c3c3e3b0fd02c49b.tar
cgit-3b220eb22ded98851ca9dee7c3c3e3b0fd02c49b.tar.gz
cgit-3b220eb22ded98851ca9dee7c3c3e3b0fd02c49b.zip
Parentc53a15c77a6763b4d6fefb033923ba7493b884a2 (diff)
diff: move layout to page function
The existing "show_ctrls" flag is used to control whether we are running in an existing page or control the page ourselves. Signed-off-by: John Keeping <john@keeping.me.uk>
1 files changed, 1 insertions, 1 deletions
-rw-r--r--cmd.c2
diff --git a/cmd.c b/cmd.c
index 1b42a47..d9f6eff 100644
--- a/cmd.c
+++ b/cmd.c
@@ -158,7 +158,7 @@ struct cgit_cmd *cgit_get_cmd(void)
def_cmp(about, 0, 0, 0, 0),
def_cmd(blob, 1, 0, 0, 0),
def_cmd(commit, 1, 0, 1, 0),
- def_cmd(diff, 1, 1, 1, 0),
+ def_cmd(diff, 1, 0, 1, 0),
def_cmd(info, 1, 0, 0, 1),
def_cmd(log, 1, 1, 1, 0),
def_cmd(ls_cache, 0, 0, 0, 0),