Merge "CheckoutCommand: fix reflog message"

This commit is contained in:
Shawn Pearce 2011-01-12 10:46:23 -05:00 committed by Code Review
commit 600f624a35
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ public Ref call() throws JGitInternalException, RefAlreadyExistsException,
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)