aboutsummaryrefslogtreecommitdiffstats
path: root/cmd.h
diff options
context:
space:
mode:
authorGravatar Dan McGee <dpmcgee@gmail.com>2011-01-13 03:06:06 (JST)
committerGravatar Lars Hjemli <hjemli@gmail.com>2011-02-19 22:57:48 (JST)
commit35d33014fb897cac24f2ae42d8a2d9e005938bd9 (patch)
treec55f76cba9334ede9cc7411f4a0834d9ff807c4d /cmd.h
parent17596459fe9a43428a261e66f65b227d15bf7ee5 (diff)
downloadcgit-35d33014fb897cac24f2ae42d8a2d9e005938bd9.zip
cgit-35d33014fb897cac24f2ae42d8a2d9e005938bd9.tar.gz
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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd.h b/cmd.h
index 8dc01bd..eb5bc87 100644
--- a/cmd.h
+++ b/cmd.h
@@ -8,7 +8,8 @@ struct cgit_cmd {
8 cgit_cmd_fn fn; 8 cgit_cmd_fn fn;
9 unsigned int want_repo:1, 9 unsigned int want_repo:1,
10 want_layout:1, 10 want_layout:1,
11 want_vpath:1; 11 want_vpath:1,
12 is_clone:1;
12}; 13};
13 14
14extern struct cgit_cmd *cgit_get_cmd(struct cgit_context *ctx); 15extern struct cgit_cmd *cgit_get_cmd(struct cgit_context *ctx);