]> source.dussan.org Git - jgit.git/commit
Support parsing git describe style output 08/1408/2
authorShawn O. Pearce <spearce@spearce.org>
Wed, 25 Aug 2010 00:35:52 +0000 (17:35 -0700)
committerShawn O. Pearce <spearce@spearce.org>
Thu, 26 Aug 2010 00:07:13 +0000 (17:07 -0700)
commit8da17c50469f0864e710faf9d068ce2abe1f92fc
treebeb9b93bec42df2fb4379c3e449f47f8fb79d8b2
parentc59e3a493b60e0e1f4a26aaf752737102335a625
Support parsing git describe style output

We now match on the -gABBREV style output created by git describe
when its describing a non-tagged commit, and resolve that back to
the full ObjectId using the abbreviation resolution feature that
we already support.

Change-Id: Ib3033f9483d9e1c66c8bb721ff48d4485bcdaef1
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/RepositoryResolveTest.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java