diff options
author | Unknwon <u@gogs.io> | 2015-12-20 01:06:54 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-12-20 01:06:54 -0500 |
commit | c62a6b7a1238524225ec9c214dc5eac7da017663 (patch) | |
tree | 44a9b60dd7deef4f218b086e166f104728101cb5 /routers | |
parent | cadf03db68bee141f55a0a26d68efc5870e66ead (diff) | |
download | gitea-c62a6b7a1238524225ec9c214dc5eac7da017663.tar.gz gitea-c62a6b7a1238524225ec9c214dc5eac7da017663.zip |
#2014 allow switch branches between two orgs in compose PR
Diffstat (limited to 'routers')
-rw-r--r-- | routers/repo/pull.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/repo/pull.go b/routers/repo/pull.go index ee018ebda7..e3500716d3 100644 --- a/routers/repo/pull.go +++ b/routers/repo/pull.go @@ -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 |