diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-08-05 19:40:01 -0400 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-08-05 19:40:01 -0400 |
commit | fa0a389dc47c3e2b6203157f5c377a6478da25ec (patch) | |
tree | ddc4bc59b5e042bf287719031fdbaddf6c8854ff /modules | |
parent | 6f6fda1481fc299bbdf3c1106ee6474f8b614fa2 (diff) | |
download | gitea-fa0a389dc47c3e2b6203157f5c377a6478da25ec.tar.gz gitea-fa0a389dc47c3e2b6203157f5c377a6478da25ec.zip |
Fix bare repo bug
Diffstat (limited to 'modules')
-rw-r--r-- | modules/middleware/repo.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/middleware/repo.go b/modules/middleware/repo.go index bc52cdb628..16bd7defb8 100644 --- a/modules/middleware/repo.go +++ b/modules/middleware/repo.go @@ -245,8 +245,6 @@ func RepoAssignment(redirect bool, args ...bool) macaron.Handler { ctx.Data["CommitsCount"] = ctx.Repo.CommitsCount } - log.Debug("displayBare: %v; IsBare: %v", displayBare, ctx.Repo.Repository.IsBare) - // repo is bare and display enable if displayBare && ctx.Repo.Repository.IsBare { log.Debug("Bare repository: %s", ctx.Repo.RepoLink) |