This generator is selected if the RevFilter is only
org..
To compute the merge base we assign a temporary flag to each of the starting commits. The maximum number of starting commits is bounded by the number of free flags available in the RevWalk when the generator is initialized. These flags will be automatically released on the next reset of the RevWalk, but not until then, as they are assigned to commits throughout the history.
Several internal flags are reused here for a different purpose, but this should not have any impact as this generator should be run alone, and without any other generators wrapped around it.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private int | |
| private static final int | |
| private final DateRevQueue | |
| private static final int | |
| private int | |
| private int | |
| private ArrayDeque | |
| private MergeBaseGenerator. | |
| private final RevWalk |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private RevCommit | |
| private void | |
| private void | |
| private void | |
| private int | |
| pack-priv void | |
| 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. |
| branchMask | back to summary |
|---|---|
| private int branchMask | |
| CONTINUE | back to summary |
|---|---|
| private static final int CONTINUE | |
| CONTINUE_ON_STACK | back to summary |
|---|---|
| private static final int CONTINUE_ON_STACK | |
| HAVE_ALL | back to summary |
|---|---|
| private static final int HAVE_ALL | |
| IN_PENDING | back to summary |
|---|---|
| private static final int IN_PENDING | |
| MERGE_BASE | back to summary |
|---|---|
| private static final int MERGE_BASE | |
| mergeBaseAncestor | back to summary |
|---|---|
| private int mergeBaseAncestor | |
| PARSED | back to summary |
|---|---|
| private static final int PARSED | |
| pending | back to summary |
|---|---|
| private final DateRevQueue pending | |
| POPPED | back to summary |
|---|---|
| private static final int POPPED | |
| recarryMask | back to summary |
|---|---|
| private int recarryMask | |
| recarryTest | back to summary |
|---|---|
| private int recarryTest | |
| ret | back to summary |
|---|---|
| private ArrayDeque<RevCommit> ret | |
| stack | back to summary |
|---|---|
| private MergeBaseGenerator. | |
| walker | back to summary |
|---|---|
| private final RevWalk walker | |
| MergeBaseGenerator | back to summary |
|---|---|
| pack-priv MergeBaseGenerator(RevWalk w) | |
| _next | back to summary |
|---|---|
| private RevCommit _next() throws MissingObjectException, IncorrectObjectTypeException, IOException | |
| add | back to summary |
|---|---|
| private void add(RevCommit c) | |
| carryOntoHistory | back to summary |
|---|---|
| private void carryOntoHistory(RevCommit c, int carry) | |
| carryOntoHistoryInnerLoop | back to summary |
|---|---|
| private void carryOntoHistoryInnerLoop(RevCommit c, int carry) | |
| carryOntoOne | back to summary |
|---|---|
| private int carryOntoOne(RevCommit p, int carry) | |
| init | back to summary |
|---|---|
| pack-priv void init(AbstractRevQueue p) throws IOException | |
| 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.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final RevCommit | |
| pack-priv final int | |
| pack-priv final MergeBaseGenerator. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| c | back to summary |
|---|---|
| pack-priv final RevCommit c | |
| carry | back to summary |
|---|---|
| pack-priv final int carry | |
| prev | back to summary |
|---|---|
| pack-priv final MergeBaseGenerator. | |
| CarryStack | back to summary |
|---|---|
| pack-priv CarryStack(MergeBaseGenerator. | |