1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-13 22:17:20 +00:00
This commit is contained in:
Unknwon
2015-11-20 11:37:17 -05:00
parent 6b30b20765
commit 6a6a7512c2
2 changed files with 3 additions and 2 deletions

View File

@ -193,7 +193,7 @@ func (pr *PullRequest) Merge(doer *User, baseGitRepo *git.Repository) (err error
}
if _, stderr, err = process.ExecDir(-1, tmpBasePath,
fmt.Sprintf("PullRequest.Merge (git merge --no-commit): %s", tmpBasePath),
fmt.Sprintf("PullRequest.Merge (git merge --no-ff --no-commit): %s", tmpBasePath),
"git", "merge", "--no-ff", "--no-commit", "head_repo/"+pr.HeadBranch); err != nil {
return fmt.Errorf("git merge --no-ff --no-commit [%s]: %v - %s", tmpBasePath, err, stderr)
}