]> source.dussan.org Git - jgit.git/commit
Fix the names in the reflog for checkouts 39/4139/2
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Sun, 4 Sep 2011 09:12:49 +0000 (11:12 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Mon, 5 Sep 2011 15:02:16 +0000 (17:02 +0200)
commitb695f66487dfdc5cfe3e3dd22c0253801ecdc9b9
tree113b3e139cabb88ec8dae1b9a99ad3c34f48c813
parenteadc26c0a057456cdcb4234bc89846b2207e40f0
Fix the names in the reflog for checkouts

We were diverging from the reference implementation. Always use the
ref we checkout to as the to-branch the reflog and avoid the
refs/heads both in the from-name and to-name.

Change-Id: Id973d9102593872e4df41d0788f0eb7c7fd130c4
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit/src/org/eclipse/jgit/api/CheckoutCommand.java