mirror of
https://github.com/go-gitea/gitea.git
synced 2025-09-01 05:22:50 +09:00
#1931 Test patch does not checkout correct base branch
This commit is contained in:
@ -81,7 +81,6 @@ func RepoRef() macaron.Handler {
|
||||
return func(ctx *Context) {
|
||||
// Empty repository does not have reference information.
|
||||
if ctx.Repo.Repository.IsBare {
|
||||
ctx.Data["CommitsCount"] = 0
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user