Allow TreeWalk callers to pass a MutableObjectId to get the current id
commit179db9c479fb48b721f623f34d89c47b402e88f6
authorShawn O. Pearce <spearce@spearce.org>
Thu, 25 Dec 2008 02:10:59 +0000 (24 18:10 -0800)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Sun, 4 Jan 2009 00:01:52 +0000 (4 01:01 +0100)
tree0c8d70b2828fafaf2e7ee989b1ab4ce535565b83
parent0b64d6ea5df947ffd0443fe78661c21c086c885e
Allow TreeWalk callers to pass a MutableObjectId to get the current id

This avoids a memory allocation associated with getting the entry
object for each name.

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