mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00: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