Browse Source

Fix typo in reflog message written by RebaseCommand.tryFastForward()

Change-Id: I1ad544f2b5673ed3b4a2206b5eb4ce20fd3c86d2
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
stable-4.1
Matthias Sohn 10 years ago
parent
commit
0243da320e
  1. 2
      org.eclipse.jgit/src/org/eclipse/jgit/api/RebaseCommand.java

2
org.eclipse.jgit/src/org/eclipse/jgit/api/RebaseCommand.java

@ -1227,7 +1227,7 @@ public class RebaseCommand extends GitCommand<RebaseResult> {
RefUpdate rup = repo.updateRef(headName); RefUpdate rup = repo.updateRef(headName);
rup.setExpectedOldObjectId(oldCommit); rup.setExpectedOldObjectId(oldCommit);
rup.setNewObjectId(newCommit); rup.setNewObjectId(newCommit);
rup.setRefLogMessage("Fast-foward from " + oldCommit.name() //$NON-NLS-1$ rup.setRefLogMessage("Fast-forward from " + oldCommit.name() //$NON-NLS-1$
+ " to " + newCommit.name(), false); //$NON-NLS-1$ + " to " + newCommit.name(), false); //$NON-NLS-1$
Result res = rup.update(walk); Result res = rup.update(walk);
switch (res) { switch (res) {

Loading…
Cancel
Save