From 42231328d3fa1e443566a5d8e6c3ccbce16157b6 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Wed, 12 Jan 2011 12:06:07 -0600 Subject: 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 Signed-off-by: Lars Hjemli --- cgit.h | 1 + 1 file changed, 1 insertion(+) (limited to 'cgit.h') 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; -- cgit v1.2.3-59-g8ed1b