Browse Source

Merge "CheckoutCommand: fix reflog message"

stable-0.11
Shawn Pearce 14 years ago committed by Code Review
parent
commit
600f624a35
  1. 2
      org.eclipse.jgit/src/org/eclipse/jgit/api/CheckoutCommand.java

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

@ -147,7 +147,7 @@ public class CheckoutCommand extends GitCommand<Ref> {
ref = null;
RefUpdate refUpdate = repo.updateRef(Constants.HEAD, ref == null);
refUpdate.setForceUpdate(force);
refUpdate.setRefLogMessage(refLogMessage + "to "
refUpdate.setRefLogMessage(refLogMessage + " to "
+ newCommit.getName(), false);
Result updateResult;
if (ref != null)

Loading…
Cancel
Save