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:
John Keeping 2015-08-14 15:20:23 +01:00 committed by Jason A. Donenfeld
부모 03de473354
커밋 73ef8567f0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제

2
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)
{