From bbd38829eb3b41f8128952404b408d3922c7af81 Mon Sep 17 00:00:00 2001 From: Unknown Date: Thu, 20 Mar 2014 01:48:03 -0400 Subject: [PATCH] Mirror fix --- modules/base/conf.go | 1 - routers/repo/single.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/base/conf.go b/modules/base/conf.go index 17ba3b87..fdbf3ad3 100644 --- a/modules/base/conf.go +++ b/modules/base/conf.go @@ -167,7 +167,6 @@ func init() { os.Exit(2) } } - Cfg.BlockMode = false AppName = Cfg.MustValue("", "APP_NAME", "Gogs: Go Git Service") AppLogo = Cfg.MustValue("", "APP_LOGO", "img/favicon.png") diff --git a/routers/repo/single.go b/routers/repo/single.go index 141a6cda..87b08a4a 100644 --- a/routers/repo/single.go +++ b/routers/repo/single.go @@ -138,7 +138,7 @@ func Single(ctx *middleware.Context, params martini.Params) { } } - fmt.Println(Paths) + log.Trace("repo.Single: Paths: %s", strings.Join(Paths, ", ")) ctx.Data["Paths"] = Paths ctx.Data["Treenames"] = treenames