diff options
author | John Keeping | 2015-08-14 12:47:14 +0100 |
---|---|---|
committer | Jason A. Donenfeld | 2015-08-14 15:46:51 +0200 |
commit | 3b220eb22ded98851ca9dee7c3c3e3b0fd02c49b (patch) | |
tree | 77573441ad15b57a4f62ecaac847461fd0e7e49f /cmd.c | |
parent | c53a15c77a6763b4d6fefb033923ba7493b884a2 (diff) | |
download | cgit-3b220eb22ded98851ca9dee7c3c3e3b0fd02c49b.tar.gz cgit-3b220eb22ded98851ca9dee7c3c3e3b0fd02c49b.tar.bz2 cgit-3b220eb22ded98851ca9dee7c3c3e3b0fd02c49b.zip |
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>
Diffstat (limited to 'cmd.c')
-rw-r--r-- | cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -158,7 +158,7 @@ struct cgit_cmd *cgit_get_cmd(void) | |||
158 | def_cmp(about, 0, 0, 0, 0), | 158 | def_cmp(about, 0, 0, 0, 0), |
159 | def_cmd(blob, 1, 0, 0, 0), | 159 | def_cmd(blob, 1, 0, 0, 0), |
160 | def_cmd(commit, 1, 0, 1, 0), | 160 | def_cmd(commit, 1, 0, 1, 0), |
161 | def_cmd(diff, 1, 1, 1, 0), | 161 | def_cmd(diff, 1, 0, 1, 0), |
162 | def_cmd(info, 1, 0, 0, 1), | 162 | def_cmd(info, 1, 0, 0, 1), |
163 | def_cmd(log, 1, 1, 1, 0), | 163 | def_cmd(log, 1, 1, 1, 0), |
164 | def_cmd(ls_cache, 0, 0, 0, 0), | 164 | def_cmd(ls_cache, 0, 0, 0, 0), |