]> source.dussan.org Git - jgit.git/commit
Allow a @ without branch in revision syntax 74/6774/2
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Mon, 16 Jul 2012 21:47:46 +0000 (23:47 +0200)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Mon, 16 Jul 2012 21:56:51 +0000 (23:56 +0200)
commitf82d1cb5c0ee593eb7a68b2d9ea539399f9204ba
treebdb388a87347771f3f75d5d690560c31597ae50f
parent981720d15080f37f37dbc37776c1f2d1ef242cb4
Allow a @ without branch in revision syntax

No branch before @ is interpreted as the currently checked out branch.
For detached heads it would be HEAD, but normally it is the branch
that HEAD refers to.

Change-Id: I051a1724fa390b8212e8986ba832b1347a20371e
org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/ReflogResolveTest.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java