mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-03 12:05:59 +01:00
(refs #435)Correct merge commit message
Use ${user}/${branch} instead of ${user}/{repoName}
This commit is contained in:
@@ -156,7 +156,7 @@ trait PullRequestsControllerBase extends ControllerBase {
|
|||||||
val personIdent = new PersonIdent(loginAccount.fullName, loginAccount.mailAddress)
|
val personIdent = new PersonIdent(loginAccount.fullName, loginAccount.mailAddress)
|
||||||
mergeCommit.setAuthor(personIdent)
|
mergeCommit.setAuthor(personIdent)
|
||||||
mergeCommit.setCommitter(personIdent)
|
mergeCommit.setCommitter(personIdent)
|
||||||
mergeCommit.setMessage(s"Merge pull request #${issueId} from ${pullreq.requestUserName}/${pullreq.requestRepositoryName}\n\n" +
|
mergeCommit.setMessage(s"Merge pull request #${issueId} from ${pullreq.requestUserName}/${pullreq.requestBranch}\n\n" +
|
||||||
form.message)
|
form.message)
|
||||||
|
|
||||||
// insertObject and got mergeCommit Object Id
|
// insertObject and got mergeCommit Object Id
|
||||||
|
|||||||
Reference in New Issue
Block a user