RevWalk: Fix RevSort.REVERSE combined with RevSort.TOPO
commit88867e3ad3f95db8844325cd98870b726892a452
authorShawn O. Pearce <spearce@spearce.org>
Sun, 7 Sep 2008 21:00:08 +0000 (7 14:00 -0700)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Sun, 7 Sep 2008 21:36:03 +0000 (7 23:36 +0200)
tree2eb6ba6880900f477b4c09ea890d8a85ea9e39eb
parent4c3ae8cecf8ae2f58a2524f5b6251361f7b3e7e7
RevWalk: Fix RevSort.REVERSE combined with RevSort.TOPO

The reverse sort was using the initial pending queue, not the
generator that comes before it in the workflow.  This caused
a combination of TOPO and REVERSE to return no commits.

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/revwalk/StartGenerator.java