aboutsummaryrefslogtreecommitdiffstats
path: root/routers/repo
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-12-20 01:06:54 -0500
committerUnknwon <u@gogs.io>2015-12-20 01:06:54 -0500
commitc62a6b7a1238524225ec9c214dc5eac7da017663 (patch)
tree44a9b60dd7deef4f218b086e166f104728101cb5 /routers/repo
parentcadf03db68bee141f55a0a26d68efc5870e66ead (diff)
downloadgitea-c62a6b7a1238524225ec9c214dc5eac7da017663.tar.gz
gitea-c62a6b7a1238524225ec9c214dc5eac7da017663.zip
#2014 allow switch branches between two orgs in compose PR
Diffstat (limited to 'routers/repo')
-rw-r--r--routers/repo/pull.go1
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