the repository which powers this website
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 <[email protected]> Reviewed-by: Christian Hesse <[email protected]>
John Keeping 2015-08-14
parent 03de473 · commit 73ef856
-rw-r--r--cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd.c b/cmd.c
index 20c80b0d..c9910928 100644
--- a/cmd.c
+++ b/cmd.c
@@ -142,7 +142,7 @@ static void tree_fn(void)
}
#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)
{