Evaluate RevFilters before inserting parent commits to pending
commitacac1d77b51f1ac11401cb6d35de59aba08a91be
authorShawn O. Pearce <spearce@spearce.org>
Thu, 13 Mar 2008 00:06:23 +0000 (12 20:06 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 7 Apr 2008 03:40:48 +0000 (6 23:40 -0400)
tree21b7bf37fab4a5cfc8fd37922cfa1fbf5eb3fa80
parentefe41ec0c16e5be4582177e5d346e28ed2d295a9
Evaluate RevFilters before inserting parent commits to pending

By filtering up front we better position ourselves to avoid expensive
parent rewrite related work when the commit is of no interest to the
application.  Currently there is no logic or performance impact to
this change, but it relocates the filter earlier and provides a nicer
structure to insert parent rewriting logic prior to injecting them
into our pending queue.

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