From 1df537ce5cfcbb8200bb3e04cf489eab9f97de33 Mon Sep 17 00:00:00 2001 From: nazoking Date: Fri, 2 Oct 2015 00:49:11 +0900 Subject: [PATCH] (refs #700)web ui merge does not update pull request that already exist --- .../gitbucket/core/controller/PullRequestsController.scala | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/scala/gitbucket/core/controller/PullRequestsController.scala b/src/main/scala/gitbucket/core/controller/PullRequestsController.scala index 2471f7eda..6cf7d4ec0 100644 --- a/src/main/scala/gitbucket/core/controller/PullRequestsController.scala +++ b/src/main/scala/gitbucket/core/controller/PullRequestsController.scala @@ -239,6 +239,9 @@ trait PullRequestsControllerBase extends ControllerBase { } closeIssuesFromMessage(form.message, loginAccount.userName, owner, name) } + + updatePullRequests(owner, name, pullreq.branch) + // call web hook callPullRequestWebHook("closed", repository, issueId, context.baseUrl, context.loginAccount.get)