mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-08 05:39:21 +02:00
fix display bare repo
This commit is contained in:
1 parent
e2f63d81d3
commit
d6c9e3413a
5 files changed
+72
-53
No files matched your search
@@ -78,6 +78,7 @@ func Single(ctx *middleware.Context, params martini.Params) {
|
||||
ctx.Handle(404, "repo.Single(GetBranches)", err)
|
||||
return
|
||||
}
|
||||
|
||||
ctx.Data["Branches"] = brs
|
||||
|
||||
isViewBranch := ctx.Repo.IsBranch
|
||||
|
||||
Reference in new issue
Block a user