mirror of
https://git.zx2c4.com/cgit
synced 2025-07-19 18:34:46 +02:00
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>
This commit is contained in:
parent
c53a15c77a
commit
3b220eb22d
2 changed files with 15 additions and 6 deletions
2
cmd.c
2
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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue