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>
Этот коммит содержится в:
коммит произвёл
Lars Hjemli
родитель
17596459fe
Коммит
35d33014fb
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);
|
||||
|
||||
Ссылка в новой задаче
Block a user