]> source.dussan.org Git - jgit.git/commit
Add a public RevTag.parse() method 67/1367/1
authorShawn O. Pearce <spearce@spearce.org>
Fri, 20 Aug 2010 22:41:49 +0000 (15:41 -0700)
committerShawn O. Pearce <spearce@spearce.org>
Sat, 21 Aug 2010 00:38:53 +0000 (17:38 -0700)
commit540df6c9fe67bc6424547101b1e260e3b2149603
tree02aa45b3be8319fd45b2e598eed9eea1c5a12351
parentb205597b91027bf56ef9e7a6398c3037f662feb2
Add a public RevTag.parse() method

Callers might have a canonical tag encoding on hand that they
wish to convert into a clean structure for presentation purposes,
and the object may not be available in a repository.  (E.g. maybe
its a "draft" tag being written in an editor.)

Change-Id: I387a462afb70754aa7ee20891e6c0262438fdf32
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.eclipse.jgit.test/tst/org/eclipse/jgit/revwalk/RevTagParseTest.java
org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RevTag.java