Add getTree to TreeWalk for locating the current iterator instance
commit313d2db22c1b50bb7b0954d81257ead45b52df44
authorShawn O. Pearce <spearce@spearce.org>
Sun, 10 Aug 2008 08:46:21 +0000 (10 01:46 -0700)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Wed, 13 Aug 2008 19:55:55 +0000 (13 21:55 +0200)
treeac810485de8841e45e4acdc30d5563ba47e89667
parent04219ac1b0147e53dd833085a1330471f559140f
Add getTree to TreeWalk for locating the current iterator instance

Since TreeWalk creates new child iterators as it dives into a subtree
(and pops them when it comes out of the subtree) we must allow callers
to locate their current iterator if they need additional APIs from it.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.spearce.jgit/src/org/spearce/jgit/treewalk/TreeWalk.java