CheckoutCommand: fix reflog message

There is a space missing between <from> and "to" in the reflog
message produced by the CheckoutCommand, which is of the form

moving from <from> to <to>

Change-Id: I3dc57ab0a6589292db77a17d9029ee9499dfc725
Signed-off-by: Mathias Kinzler <mathias.kinzler@sap.com>
This commit is contained in:
Mathias Kinzler 2011-01-12 13:19:32 +01:00
parent be38185a03
commit 7047d2fa8d
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)