Allow resets of RevWalk while retaining some application flags
commit8ac097792e25547d9e7465b51a98def56a77d4af
authorShawn O. Pearce <spearce@spearce.org>
Fri, 25 Apr 2008 04:51:40 +0000 (25 00:51 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 11 May 2008 05:16:31 +0000 (11 01:16 -0400)
tree13435868f25069756d8d602dbe6b943da8c5d912
parent76e302a13dc156b67e32b2eba28034cd7bdf4612
Allow resets of RevWalk while retaining some application flags

Applications may need to perform a walk, then abort and start
again, but retain one or more RevFlags on the commits so that
those flags can be reused later.  During reset we now let the
application select which flags should be preserved if present.

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