diff options
| author | Mathias Kinzler | 2011-01-12 12:19:32 +0000 |
|---|---|---|
| committer | Mathias Kinzler | 2011-01-12 12:19:32 +0000 |
| commit | 7047d2fa8d268053e2b37bf0ed16efd0e1e1a218 (patch) | |
| tree | c50582d69e888280c199c5f4572946252c8056a8 | |
| parent | be38185a033021da707f934caf96b68070050bd5 (diff) | |
| download | jgit-7047d2fa8d268053e2b37bf0ed16efd0e1e1a218.tar.gz jgit-7047d2fa8d268053e2b37bf0ed16efd0e1e1a218.tar.xz jgit-7047d2fa8d268053e2b37bf0ed16efd0e1e1a218.zip | |
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>
| -rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/api/CheckoutCommand.java | 2 |
1 files changed, 1 insertions, 1 deletions
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 dcd8fc3fc5..73ca261678 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> { 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) |
