Dispose of a RevCommit as soon as it is no longer interesting
commit42db43ad18a64463cb6b502e0ff2e3a487aa3a68
authorShawn O. Pearce <spearce@spearce.org>
Thu, 13 Mar 2008 01:54:55 +0000 (12 21:54 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 7 Apr 2008 03:40:49 +0000 (6 23:40 -0400)
tree4868e7703ba6f9137faadc52ad2d4ac7e9914976
parentacac1d77b51f1ac11401cb6d35de59aba08a91be
Dispose of a RevCommit as soon as it is no longer interesting

If we are not going to produce a RevCommit out of the pending queue
then there is no interest in its data beyond our need to add all of
its parents into the pending queue.  Once that operation is complete
we can dump the buffer and release the commit's memory.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.spearce.jgit/src/org/spearce/jgit/revwalk/AbstractPendingGenerator.java