Browse Source

Mirror fix

Unknown 11 years ago
parent
commit
bbd38829eb
2 changed files with 1 additions and 2 deletions
  1. 0 1
      modules/base/conf.go
  2. 1 1
      routers/repo/single.go

+ 0 - 1
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")

+ 1 - 1
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