mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-28 16:47:01 +09:00
Add build tag enable prompt
This commit is contained in:
1 parent
0e41726ece
commit
8bed017557
5 files changed
+13
-3
No files matched your search
@@ -201,6 +201,7 @@ func RepoAssignment(redirect bool, args ...bool) martini.Handler {
|
||||
|
||||
// repo is bare and display enable
|
||||
if displayBare && ctx.Repo.Repository.IsBare {
|
||||
log.Debug("Bare repository: %s", ctx.Repo.RepoLink)
|
||||
ctx.HTML(200, "repo/single_bare")
|
||||
return
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user