Allow RevWalk users to ask for FIFO style ordering
commit3b27268f49e27bad2b249d422eaff1319078d322
authorShawn O. Pearce <spearce@spearce.org>
Fri, 25 Apr 2008 07:08:02 +0000 (25 03:08 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 11 May 2008 05:16:32 +0000 (11 01:16 -0400)
tree088d96b00049f46a98b8951512e7344fa6e178aa
parent9acc1d8eba769faf02ab03878430cc8c34b8c33c
Allow RevWalk users to ask for FIFO style ordering

Some applications just want (or require) a FIFO style ordering
when we walk commits.  This is easier for us than date order,
and is what we use by default in the queue when the sort order
is NONE, but we shouldn't promise that.  Instead we use a new
RevSort value to enforce FIFO requirements.

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