diff options
| author | John Keeping <[email protected]> | 2015-08-14 14:20:23 +0000 |
|---|---|---|
| committer | Jason A. Donenfeld <[email protected]> | 2015-08-14 14:41:22 +0000 |
| commit | 73ef8567f04c2dea8fbf83213b28e0cd1dff98f3 (patch) | |
| tree | 31c8d10c19df8171cf67bb2f7dbd4a0f12f8b1a2 /cmd.c | |
| parent | cmd: no need for pre function hook now (diff) | |
| download | cgit-73ef8567f04c2dea8fbf83213b28e0cd1dff98f3.tar.gz cgit-73ef8567f04c2dea8fbf83213b28e0cd1dff98f3.zip | |
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]>
Diffstat (limited to 'cmd.c')
| -rw-r--r-- | cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |
