summaryrefslogtreecommitdiffstats
path: root/routers/install.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-12-08 20:06:12 -0500
committerUnknwon <u@gogs.io>2015-12-08 20:06:12 -0500
commit120cd4e4716d11f79a7e8c41c066383e579d480a (patch)
treeb25ae1b31ecf5437250c388d55ee940e294a4187 /routers/install.go
parent1cbd4c01fbfd4e15e36a722c9e2cc19366be3df8 (diff)
downloadgitea-120cd4e4716d11f79a7e8c41c066383e579d480a.tar.gz
gitea-120cd4e4716d11f79a7e8c41c066383e579d480a.zip
#1984 Better mirror repo management
Diffstat (limited to 'routers/install.go')
-rw-r--r--routers/install.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/routers/install.go b/routers/install.go
index c47df0a54a..6d2296cfc9 100644
--- a/routers/install.go
+++ b/routers/install.go
@@ -41,7 +41,8 @@ func checkRunMode() {
macaron.Env = macaron.PROD
macaron.ColorLog = false
setting.ProdMode = true
- git.Debug = false
+ default:
+ git.Debug = true
}
log.Info("Run Mode: %s", strings.Title(macaron.Env))
}