summaryrefslogtreecommitdiffstats
path: root/routers/install.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/install.go')
-rw-r--r--routers/install.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/routers/install.go b/routers/install.go
index f3c51d06ac..dc0ff2f2f1 100644
--- a/routers/install.go
+++ b/routers/install.go
@@ -17,6 +17,8 @@ import (
"gopkg.in/ini.v1"
"gopkg.in/macaron.v1"
+ "github.com/gogits/git-shell"
+
"github.com/gogits/gogs/models"
"github.com/gogits/gogs/models/cron"
"github.com/gogits/gogs/modules/auth"
@@ -39,6 +41,7 @@ func checkRunMode() {
macaron.Env = macaron.PROD
macaron.ColorLog = false
setting.ProdMode = true
+ git.Debug = false
}
log.Info("Run Mode: %s", strings.Title(macaron.Env))
}