aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/base/conf.go1
-rw-r--r--routers/repo/single.go2
2 files changed, 1 insertions, 2 deletions
diff --git a/modules/base/conf.go b/modules/base/conf.go
index 17ba3b879a..fdbf3ad385 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 141a6cdae2..87b08a4ad5 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