Website Summary Files Commits Branches @commit @diff @stats
path: root / cgit.h
diff options
context:
space:
mode:
Commit42231328d3fa1e443566a5d8e6c3ccbce16157b6 (patch)
Author
 Dan McGee <dpmcgee@gmail.com>
2011-01-12 12:06:07 -0600
Committer
 Lars Hjemli <hjemli@gmail.com>
2011-02-19 15:00:18 +0100
Files5d1cc79305eadaa3c424f2ef3afa8b096d1f9503 /cgit.h
cgit-42231328d3fa1e443566a5d8e6c3ccbce16157b6.tar
cgit-42231328d3fa1e443566a5d8e6c3ccbce16157b6.tar.gz
cgit-42231328d3fa1e443566a5d8e6c3ccbce16157b6.zip
Parent35d33014fb897cac24f2ae42d8a2d9e005938bd9 (diff)
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>
1 files changed, 1 insertions, 0 deletions
-rw-r--r--cgit.h1
diff --git a/cgit.h b/cgit.h
index f5f68ac..c119712 100644
--- a/cgit.h
+++ b/cgit.h
@@ -187,6 +187,7 @@ struct cgit_config {
int embedded;
int enable_filter_overrides;
int enable_gitweb_owner;
+ int enable_http_clone;
int enable_index_links;
int enable_log_filecount;
int enable_log_linecount;