diff options
author | Shawn Pearce <spearce@spearce.org> | 2011-05-05 13:38:40 -0400 |
---|---|---|
committer | Code Review <codereview-daemon@eclipse.org> | 2011-05-05 13:38:40 -0400 |
commit | 18b7e9400e5282bd3c47ec2d4772e4b1cae68683 (patch) | |
tree | 9185bc86fa705153ffb8ce4b2ff4799eaaa448e7 /org.eclipse.jgit | |
parent | de8946c0c2c63907c0b14f2d9c419ac338b60588 (diff) | |
parent | 7546e3b4c5612e5f6ee564d0d01b17533e7e0b3b (diff) | |
download | jgit-18b7e9400e5282bd3c47ec2d4772e4b1cae68683.tar.gz jgit-18b7e9400e5282bd3c47ec2d4772e4b1cae68683.zip |
Merge "Fix "into" part of merge message for HEAD"
Diffstat (limited to 'org.eclipse.jgit')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/merge/MergeMessageFormatter.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/merge/MergeMessageFormatter.java b/org.eclipse.jgit/src/org/eclipse/jgit/merge/MergeMessageFormatter.java index 96395d0bfa..11f3b7a3fd 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/merge/MergeMessageFormatter.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/merge/MergeMessageFormatter.java @@ -115,8 +115,7 @@ public class MergeMessageFormatter { String targetName = target.getLeaf().getName(); if (!targetName.equals(Constants.R_HEADS + Constants.MASTER)) { - String targetShortName = Repository - .shortenRefName(target.getName()); + String targetShortName = Repository.shortenRefName(targetName); sb.append(" into " + targetShortName); } |