mirror of
https://git.zx2c4.com/cgit
synced 2025-07-14 20:24:36 +02:00
Add is_clone flag to available commands
This will be used to make these operations configurable via a config option. Signed-off-by: Dan McGee <dpmcgee@gmail.com> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
parent
17596459fe
commit
35d33014fb
2 changed files with 23 additions and 22 deletions
3
cmd.h
3
cmd.h
|
@ -8,7 +8,8 @@ struct cgit_cmd {
|
|||
cgit_cmd_fn fn;
|
||||
unsigned int want_repo:1,
|
||||
want_layout:1,
|
||||
want_vpath:1;
|
||||
want_vpath:1,
|
||||
is_clone:1;
|
||||
};
|
||||
|
||||
extern struct cgit_cmd *cgit_get_cmd(struct cgit_context *ctx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue