Merge "CheckoutCommand: fix reflog message"
This commit is contained in:
commit
600f624a35
|
@ -147,7 +147,7 @@ public Ref call() throws JGitInternalException, RefAlreadyExistsException,
|
||||||
ref = null;
|
ref = null;
|
||||||
RefUpdate refUpdate = repo.updateRef(Constants.HEAD, ref == null);
|
RefUpdate refUpdate = repo.updateRef(Constants.HEAD, ref == null);
|
||||||
refUpdate.setForceUpdate(force);
|
refUpdate.setForceUpdate(force);
|
||||||
refUpdate.setRefLogMessage(refLogMessage + "to "
|
refUpdate.setRefLogMessage(refLogMessage + " to "
|
||||||
+ newCommit.getName(), false);
|
+ newCommit.getName(), false);
|
||||||
Result updateResult;
|
Result updateResult;
|
||||||
if (ref != null)
|
if (ref != null)
|
||||||
|
|
Loading…
Reference in New Issue