implement requested review changes

This commit is contained in:
Konstantin Schaper
2020-09-18 08:47:04 +02:00
parent 2d024fe210
commit 3e96d89480
2 changed files with 6 additions and 3 deletions

View File

@@ -63,7 +63,7 @@ public class GitMergeRebase extends GitMergeStrategy {
.setUpstream(targetBranch)
.call();
} catch (GitAPIException e) {
throw new InternalRepositoryException(getContext().getRepository(), "could not merge branch " + branchToMerge + " into " + targetBranch, e);
throw new InternalRepositoryException(getContext().getRepository(), "could not rebase branch " + branchToMerge + " onto " + targetBranch, e);
}
if (result.getStatus().isSuccessful()) {
@@ -84,7 +84,6 @@ public class GitMergeRebase extends GitMergeStrategy {
getClone()
.merge()
.setFastForward(MergeCommand.FastForwardMode.FF_ONLY)
.setCommit(false) // we want to set the author manually
.include(branchToMerge, sourceRevision)
.call();
push();