]> source.dussan.org Git - jgit.git/commit
Add a public RevCommit.parse() method 66/1366/1
authorShawn O. Pearce <spearce@spearce.org>
Fri, 20 Aug 2010 16:32:07 +0000 (09:32 -0700)
committerShawn O. Pearce <spearce@spearce.org>
Sat, 21 Aug 2010 00:38:53 +0000 (17:38 -0700)
commitb205597b91027bf56ef9e7a6398c3037f662feb2
treee30581f92e7a16f4be2bd539be3bb2c4340173d9
parent707912b35d3375ea70808e176e028aa086d01451
Add a public RevCommit.parse() method

Callers might have a canonical commit 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" commit being written in an editor.)

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