diff options
author | 赵智超 <1012112796@qq.com> | 2020-08-05 04:55:22 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-04 21:55:22 +0100 |
commit | 8a6790b2aa07fa006d0338669e1da6134a58e313 (patch) | |
tree | 3026006db62060a278a028764396d0dd41ef9526 /routers/repo/pull.go | |
parent | e61c09ed7331e6ea72e4d9f08c0490713598942d (diff) | |
download | gitea-8a6790b2aa07fa006d0338669e1da6134a58e313.tar.gz gitea-8a6790b2aa07fa006d0338669e1da6134a58e313.zip |
Add API to update pr headBranch (#12419)
* [API] Add update pr headBranch api
Signed-off-by: a1012112796 <1012112796@qq.com>
Diffstat (limited to 'routers/repo/pull.go')
-rw-r--r-- | routers/repo/pull.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/pull.go b/routers/repo/pull.go index 60326db03a..cfe30a1a19 100644 --- a/routers/repo/pull.go +++ b/routers/repo/pull.go @@ -666,7 +666,7 @@ func ViewPullFiles(ctx *context.Context) { ctx.HTML(200, tplPullFiles) } -// UpdatePullRequest merge master into PR +// UpdatePullRequest merge PR's baseBranch into headBranch func UpdatePullRequest(ctx *context.Context) { issue := checkPullInfo(ctx) if ctx.Written() { |