Browse Source

Merge "Commit message may not necessarily be in UTF-8"

stable-2.2
Shawn Pearce 12 years ago committed by Gerrit Code Review @ Eclipse.org
parent
commit
e9a1df6c56
  1. 4
      org.eclipse.jgit/src/org/eclipse/jgit/api/RebaseCommand.java

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

@ -278,8 +278,8 @@ public class RebaseCommand extends GitCommand<RebaseResult> {
sb.append(" ");
sb.append(step.commit.name());
sb.append(" ");
sb.append(new String(step.shortMessage,
Constants.CHARACTER_ENCODING).trim());
sb.append(RawParseUtils.decode(step.shortMessage)
.trim());
fw.write(sb.toString());
fw.newLine();
}

Loading…
Cancel
Save