neocgit

a more 'modern' version of cgit
Log | Files | Refs | Submodules | README | LICENSE | git clone https://git.ne02ptzero.me/git/neocgit

commit 73ef8567f04c2dea8fbf83213b28e0cd1dff98f3
parent 03de473354dc8c17a3b23a973b5cc67752ad20cb
Author: John Keeping <john@keeping.me.uk>
Date:   Fri, 14 Aug 2015 15:20:23 +0100

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>

Diffstat:
Mcmd.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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) {