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:
parent
be38185a03
commit
7047d2fa8d
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue