Modifier and Type | Field and Description |
---|---|
private RevFlag |
DEEPEN_NOT
Commits reachable from commits that the client specified using --shallow-exclude.
|
private int |
deepenSince |
private int |
depth |
private FIFORevQueue |
pending |
private RevFlag |
REINTERESTING
Commits which the normal framework has marked as UNINTERESTING,
but which we now care about again.
|
private RevFlag |
UNSHALLOW
Commits which used to be shallow in the client, but which are
being extended as part of this fetch.
|
private RevWalk |
walk |
firstParent, HAS_REWRITE, HAS_UNINTERESTING, NEEDS_REWRITE, SORT_COMMIT_TIME_DESC, SORT_TOPO
Constructor and Description |
---|
DepthGenerator(DepthWalk w,
Generator s) |
Modifier and Type | Method and Description |
---|---|
(package private) RevCommit |
next()
Return the next commit to the application, or the next generator.
|
(package private) int |
outputType()
Obtain flags describing the output behavior of this generator.
|
(package private) void |
shareFreeList(BlockRevQueue q)
Connect the supplied queue to this generator's own free list (if any).
|
private final FIFORevQueue pending
private final int depth
private final int deepenSince
private final RevWalk walk
private final RevFlag UNSHALLOW
private final RevFlag REINTERESTING
private final RevFlag DEEPEN_NOT
DepthGenerator(DepthWalk w, Generator s) throws MissingObjectException, IncorrectObjectTypeException, java.io.IOException
w
- s
- Parent generatorMissingObjectException
IncorrectObjectTypeException
java.io.IOException
int outputType()
Generator
outputType
in class Generator
void shareFreeList(BlockRevQueue q)
Generator
shareFreeList
in class Generator
q
- another FIFO queue that wants to share our queue's free list.RevCommit next() throws MissingObjectException, IncorrectObjectTypeException, java.io.IOException
Generator
next
in class Generator
MissingObjectException
IncorrectObjectTypeException
java.io.IOException