This generator starts from a set of one or more commits and process them in
descending (newest to oldest) commit time order. Commits automatically cause
their parents to be enqueued for further processing, allowing the entire
commit graph to be walked. A RevFilter may be used to select a subset
of the commits and return them to the caller.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | |
| private final RevFilter | |
| private static final RevCommit | |
| private RevCommit | |
| private final int | |
| pack-priv static final int | OVER_SCAN
Number of additional commits to scan after we think we are done. |
| private int | overScan
Number of commits we have remaining in our over-scan allotment. |
| private static final int | |
| private final DateRevQueue | |
| private static final int | |
| private static final int | |
| private final RevWalk |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv RevCommit | next()
Implements abstract org. Return the next commit to the application, or the next generator. |
| pack-priv int | outputType()
Implements abstract org. Obtain flags describing the output behavior of this generator. |
| canDispose | back to summary |
|---|---|
| pack-priv boolean canDispose | |
| filter | back to summary |
|---|---|
| private final RevFilter filter | |
| INIT_LAST | back to summary |
|---|---|
| private static final RevCommit INIT_LAST A commit near the end of time, to initialize | |
| last | back to summary |
|---|---|
| private RevCommit last Last commit produced to the caller from | |
| output | back to summary |
|---|---|
| private final int output | |
| OVER_SCAN | back to summary |
|---|---|
| pack-priv static final int OVER_SCAN Number of additional commits to scan after we think we are done. This small buffer of commits is scanned to ensure we didn't miss anything as a result of clock skew when the commits were made. We need to set our constant to 1 additional commit due to the use of a pre-increment operator when accessing the value. | |
| overScan | back to summary |
|---|---|
| private int overScan Number of commits we have remaining in our over-scan allotment.
Only relevant if there are | |
| PARSED | back to summary |
|---|---|
| private static final int PARSED | |
| pending | back to summary |
|---|---|
| private final DateRevQueue pending | |
| SEEN | back to summary |
|---|---|
| private static final int SEEN | |
| UNINTERESTING | back to summary |
|---|---|
| private static final int UNINTERESTING | |
| walker | back to summary |
|---|---|
| private final RevWalk walker | |
| PendingGenerator | back to summary |
|---|---|
| pack-priv PendingGenerator(final RevWalk w, final DateRevQueue p, final RevFilter f, final int out) | |
| next | back to summary |
|---|---|
| pack-priv RevCommit next() throws MissingObjectException, IncorrectObjectTypeException, IOException Implements abstract org. Doc from org. Return the next commit to the application, or the next generator.
| |
| outputType | back to summary |
|---|---|
| pack-priv int outputType() Implements abstract org. Doc from org. Obtain flags describing the output behavior of this generator.
| |