aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-20 01:48:03 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-20 01:48:03 -0400
commitbbd38829eb3b41f8128952404b408d3922c7af81 (patch)
tree9f359380d00d59cb382f4b92799693f6cf6e5614
parent805732fdc76c55659a3ee4b9d1a655ba3c9a0abc (diff)
downloadgitea-bbd38829eb3b41f8128952404b408d3922c7af81.tar.gz
gitea-bbd38829eb3b41f8128952404b408d3922c7af81.zip
Mirror fix
-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