all repos — cgit @ 73ef8567f04c2dea8fbf83213b28e0cd1dff98f3

a hyperfast web frontend for git written in c

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>
John Keeping john@keeping.me.uk
Fri, 14 Aug 2015 15:20:23 +0100
commit

73ef8567f04c2dea8fbf83213b28e0cd1dff98f3

parent

03de473354dc8c17a3b23a973b5cc67752ad20cb

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M cmd.ccmd.c

@@ -142,7 +142,7 @@ cgit_print_tree(ctx.qry.sha1, ctx.qry.path);

} #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) {