diff options
author | Dan McGee <dpmcgee@gmail.com> | 2011-01-13 03:06:07 (JST) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2011-02-19 23:00:18 (JST) |
commit | 42231328d3fa1e443566a5d8e6c3ccbce16157b6 (patch) | |
tree | 5d1cc79305eadaa3c424f2ef3afa8b096d1f9503 /cgit.h | |
parent | 35d33014fb897cac24f2ae42d8a2d9e005938bd9 (diff) | |
download | cgit-42231328d3fa1e443566a5d8e6c3ccbce16157b6.zip cgit-42231328d3fa1e443566a5d8e6c3ccbce16157b6.tar.gz |
Allow disabling of HTTP clone URLs
If advertising other URLs to your users, you may not want to make this
available through cgit (e.g. if you have the smart HTTP transport set up
elsewhere). Allow disabling the three magic commands that simulate the
git server, but default it to enabled.
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cgit.h')
-rw-r--r-- | cgit.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -187,6 +187,7 @@ struct cgit_config { | |||
187 | int embedded; | 187 | int embedded; |
188 | int enable_filter_overrides; | 188 | int enable_filter_overrides; |
189 | int enable_gitweb_owner; | 189 | int enable_gitweb_owner; |
190 | int enable_http_clone; | ||
190 | int enable_index_links; | 191 | int enable_index_links; |
191 | int enable_log_filecount; | 192 | int enable_log_filecount; |
192 | int enable_log_linecount; | 193 | int enable_log_linecount; |