summaryrefslogtreecommitdiffstats
path: root/modules/setting
diff options
context:
space:
mode:
authorThibault Meyer <meyer.thibault@gmail.com>2016-09-18 10:54:33 +0200
committerThibault Meyer <meyer.thibault@gmail.com>2016-09-18 10:54:33 +0200
commit9d66497abca96905fbeba53bf8983301710d6064 (patch)
treea2729e6cdf7f4b7be54cd2cf72a49610835b16ce /modules/setting
parent7e15ff9486cde36b76f3d39b7db23f89278acb7d (diff)
downloadgitea-9d66497abca96905fbeba53bf8983301710d6064.tar.gz
gitea-9d66497abca96905fbeba53bf8983301710d6064.zip
Can disable GIT interactions by HTTP protocol
Diffstat (limited to 'modules/setting')
-rw-r--r--modules/setting/setting.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go
index cff3e7dbc2..0e0d8f9d3a 100644
--- a/modules/setting/setting.go
+++ b/modules/setting/setting.go
@@ -116,6 +116,7 @@ var (
MirrorQueueLength int
PullRequestQueueLength int
PreferredLicenses []string
+ DisableHttpGit bool
// Repository editor settings
Editor struct {