diff options
author | Kevin Sawicki <kevin@github.com> | 2011-12-16 17:05:42 -0800 |
---|---|---|
committer | Kevin Sawicki <kevin@github.com> | 2011-12-16 17:05:47 -0800 |
commit | dc4c06e7acba79044fc3850a61971fec615632e5 (patch) | |
tree | 932854c1dd67fbd6060e6ba0c182cf8c1382814d /org.eclipse.jgit.pgm | |
parent | 29fc8fffc19f3a8e92c795294ee59d24052c3443 (diff) | |
download | jgit-dc4c06e7acba79044fc3850a61971fec615632e5.tar.gz jgit-dc4c06e7acba79044fc3850a61971fec615632e5.zip |
Support resolving integer-based reflog revisions
Revision strings such as 'master@{0}' can now be resolved
by Repository.resolve by reading the reflog for the ref and
returning the commit for the entry number specified.
This still throws an exception for cases not supported
such as 'master@{yesterday}'.
Change-Id: I6162777d6510e083565a77cac4545cda5a9aefb3
Diffstat (limited to 'org.eclipse.jgit.pgm')
0 files changed, 0 insertions, 0 deletions