From 585f0b576951ebe6dd75eaf0ca157da45bff6f9a Mon Sep 17 00:00:00 2001 From: distkloc Date: Sun, 13 Mar 2016 00:29:32 +0900 Subject: [PATCH] Replace embedded variables in commit message Update Branch button generates with their values --- .../gitbucket/core/controller/PullRequestsController.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/gitbucket/core/controller/PullRequestsController.scala b/src/main/scala/gitbucket/core/controller/PullRequestsController.scala index 763fcdb96..48f0aa2b2 100644 --- a/src/main/scala/gitbucket/core/controller/PullRequestsController.scala +++ b/src/main/scala/gitbucket/core/controller/PullRequestsController.scala @@ -178,7 +178,7 @@ trait PullRequestsControllerBase extends ControllerBase { } val existIds = using(Git.open(Directory.getRepositoryDir(owner, name))) { git => JGitUtil.getAllCommitIds(git) }.toSet pullRemote(owner, name, pullreq.requestBranch, pullreq.userName, pullreq.repositoryName, pullreq.branch, loginAccount, - "Merge branch '${alias}' into ${pullreq.requestBranch}") match { + s"Merge branch '${alias}' into ${pullreq.requestBranch}") match { case None => // conflict flash += "error" -> s"Can't automatic merging branch '${alias}' into ${pullreq.requestBranch}." case Some(oldId) =>