Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Lay2013-09-27 08:55:56 +0000
committerMatthias Sohn2013-09-29 20:17:44 +0000
commitc6aba99668eab76c1b05e021719f8ef9a69c3ae9 (patch)
tree5842c5baceefb0f0f3896c61c30cd5d89519d8fd
parent5a2a2222efa40d0cf132d6b21429792118555bea (diff)
downloadjgit-c6aba99668eab76c1b05e021719f8ef9a69c3ae9.tar.gz
jgit-c6aba99668eab76c1b05e021719f8ef9a69c3ae9.tar.xz
jgit-c6aba99668eab76c1b05e021719f8ef9a69c3ae9.zip
Fix order of commits in rebase todo file header
Change-Id: I0e41d89bbd4fc01ad3b3d05a45ee60af853bfae7 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/api/RebaseCommand.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/api/RebaseCommand.java b/org.eclipse.jgit/src/org/eclipse/jgit/api/RebaseCommand.java
index 5a006792e1..a3f80c0f09 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/api/RebaseCommand.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/api/RebaseCommand.java
@@ -669,8 +669,8 @@ public class RebaseCommand extends GitCommand<RebaseResult> {
BufferedWriter fw = new BufferedWriter(new OutputStreamWriter(
new FileOutputStream(rebaseState.getFile(GIT_REBASE_TODO)),
Constants.CHARACTER_ENCODING));
- fw.write("# Created by EGit: rebasing " + upstreamCommit.name()
- + " onto " + headId.name());
+ fw.write("# Created by EGit: rebasing " + headId.name() + " onto "
+ + upstreamCommit.name());
fw.newLine();
try {
StringBuilder sb = new StringBuilder();

Back to the top