Refactor commit flag carrying in RevCommit to be reused
commitd965f9968dba8262bdc02af5af61c52f37d775c7
authorShawn O. Pearce <spearce@spearce.org>
Thu, 24 Apr 2008 02:53:36 +0000 (23 22:53 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 11 May 2008 05:16:30 +0000 (11 01:16 -0400)
tree4e697a75e82f8f73ff813f35c555088f3cf46e88
parent3f464d7bf7ba56bcc577d599899d103db9cd28f5
Refactor commit flag carrying in RevCommit to be reused

Carrying flags from a child commit onto a parent commit can be
useful in some situations, especially if the application has to
implement its own revision traversal algorithm and does not rely
upon the builtin iteration support of RevWalk.

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