#1931 Test patch does not checkout correct base branch
This commit is contained in:
parent
b4970b3cc3
commit
4f03b81ec7
4 changed files with 15 additions and 5 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue