From c50a3503e6e8ece0dabd109932a72fe093c3cab3 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Thu, 26 Nov 2015 17:33:45 -0500 Subject: introduce git-shell --- routers/install.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'routers/install.go') diff --git a/routers/install.go b/routers/install.go index f3c51d06..dc0ff2f2 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)) } -- cgit v1.2.3