diff options
author | Dan McGee <dpmcgee@gmail.com> | 2011-01-12 18:06:06 +0000 |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2011-02-19 13:57:48 +0000 |
commit | 35d33014fb897cac24f2ae42d8a2d9e005938bd9 (patch) | |
tree | c55f76cba9334ede9cc7411f4a0834d9ff807c4d /cmd.h | |
parent | 17596459fe9a43428a261e66f65b227d15bf7ee5 (diff) | |
download | cgit-35d33014fb897cac24f2ae42d8a2d9e005938bd9.tar cgit-35d33014fb897cac24f2ae42d8a2d9e005938bd9.tar.gz cgit-35d33014fb897cac24f2ae42d8a2d9e005938bd9.zip |
Add is_clone flag to available commands
This will be used to make these operations configurable via a config
option.
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cmd.h')
-rw-r--r-- | cmd.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -8,7 +8,8 @@ struct cgit_cmd { cgit_cmd_fn fn; unsigned int want_repo:1, want_layout:1, - want_vpath:1; + want_vpath:1, + is_clone:1; }; extern struct cgit_cmd *cgit_get_cmd(struct cgit_context *ctx); |