mirror of
https://git.zx2c4.com/cgit
synced 2024-11-26 02:18:42 +00:00
cmd: fix command definition
The previous commit removed the "pre" field from "struct cgit_cmd" but forgot to update this macro. Signed-off-by: John Keeping <john@keeping.me.uk> Reviewed-by: Christian Hesse <mail@eworm.de>
This commit is contained in:
parent
03de473354
commit
73ef8567f0
2
cmd.c
2
cmd.c
@ -142,7 +142,7 @@ static void tree_fn(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#define def_cmd(name, want_repo, want_vpath, is_clone) \
|
#define def_cmd(name, want_repo, want_vpath, is_clone) \
|
||||||
{#name, name##_fn, NULL, want_repo, want_vpath, is_clone}
|
{#name, name##_fn, want_repo, want_vpath, is_clone}
|
||||||
|
|
||||||
struct cgit_cmd *cgit_get_cmd(void)
|
struct cgit_cmd *cgit_get_cmd(void)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user