#2014 allow switch branches between two orgs in compose PR

This commit is contained in:
Unknwon 2015-12-20 01:06:54 -05:00
parent cadf03db68
commit c62a6b7a12
6 changed files with 8 additions and 5 deletions

View file

@ -431,6 +431,7 @@ func ParseCompareInfo(ctx *middleware.Context) (*models.User, *models.Repository
}
return nil, nil, nil, nil, "", ""
}
ctx.Data["HeadUser"] = headUser
repo := ctx.Repo.Repository