Package org.eclipse.jgit.revwalk
Class FixUninterestingGenerator
java.lang.Object
org.eclipse.jgit.revwalk.Generator
org.eclipse.jgit.revwalk.FixUninterestingGenerator
Filters out commits marked
RevWalk.UNINTERESTING
.
This generator is only in front of another generator that has fully buffered
commits, such that we are called only after the PendingGenerator
has
exhausted its input queue and given up. It skips over any uninteresting
commits that may have leaked out of the PendingGenerator due to clock skew
being detected in the commit objects.
-
Field Summary
FieldsFields inherited from class org.eclipse.jgit.revwalk.Generator
firstParent, HAS_REWRITE, HAS_UNINTERESTING, NEEDS_REWRITE, SORT_COMMIT_TIME_DESC, SORT_TOPO
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.eclipse.jgit.revwalk.Generator
shareFreeList
-
Field Details
-
pending
-
-
Constructor Details
-
FixUninterestingGenerator
FixUninterestingGenerator(Generator g)
-
-
Method Details
-
outputType
int outputType()Description copied from class:Generator
Obtain flags describing the output behavior of this generator.- Specified by:
outputType
in classGenerator
- Returns:
- one or more of the constants declared in this class, describing how this generator produces its results.
-
next
Description copied from class:Generator
Return the next commit to the application, or the next generator.- Specified by:
next
in classGenerator
- Returns:
- next available commit; null if no more are to be returned.
- Throws:
MissingObjectException
IncorrectObjectTypeException
IOException
-