From 7047d2fa8d268053e2b37bf0ed16efd0e1e1a218 Mon Sep 17 00:00:00 2001 From: Mathias Kinzler Date: Wed, 12 Jan 2011 13:19:32 +0100 Subject: [PATCH] CheckoutCommand: fix reflog message There is a space missing between and "to" in the reflog message produced by the CheckoutCommand, which is of the form moving from to Change-Id: I3dc57ab0a6589292db77a17d9029ee9499dfc725 Signed-off-by: Mathias Kinzler --- org.eclipse.jgit/src/org/eclipse/jgit/api/CheckoutCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/api/CheckoutCommand.java b/org.eclipse.jgit/src/org/eclipse/jgit/api/CheckoutCommand.java index dcd8fc3fc..73ca26167 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/api/CheckoutCommand.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/api/CheckoutCommand.java @@ -147,7 +147,7 @@ public class CheckoutCommand extends GitCommand { 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)