]> source.dussan.org Git - jgit.git/commit
Add parseCommit(AnyObjectId) method to Repository. 45/94245/4
authorMartin Fick <mfick@codeaurora.org>
Fri, 31 Mar 2017 17:31:47 +0000 (11:31 -0600)
committerDavid Pursehouse <david.pursehouse@gmail.com>
Wed, 19 Apr 2017 07:42:47 +0000 (09:42 +0200)
commitf9b69677f643a694ec403666a30de2f3d146dd73
treec987659bcb5e3698d111552a8ed7eb3804f539a6
parentb6fc8e2f3cb1af6f7cbc624acfac01bec002baf8
Add parseCommit(AnyObjectId) method to Repository.

It is quite common to want to parse a commit without already having a
RevWalk.  Provide a shortcut to do so to make it more convenient, and to
ensure that the RevWalk is released afterwards.

Signed-off-by: Martin Fick<mfick@codeaurora.org>
Change-Id: I9528e80063122ac318f115900422a24ae49a920e
org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java