| Modifier and Type | Class and Description |
|---|---|
| public static class | DepthWalk.
RevCommit with a depth (in commits) from a root. |
| public static class | DepthWalk.
Subclass of ObjectWalk that performs depth filtering. |
| public static class | DepthWalk.
Subclass of RevWalk that performs depth filtering. |
| Modifier and Type | Method and Description |
|---|---|
| public RevFlag | Returns: flag marking commits that are to be excluded because of --shallow-excludeGet deepen-not flag |
| public default List | Returns: the objects specified by the client using --shallow-excludeGet deepen-not values |
| public default int | Returns: the deepen-since value; if not 0, this walk only returns commits whose commit time is at or after this limitGet deepen-since value |
| public int | |
| public RevFlag | Returns: flag marking commits that are interesting again.Get flag marking commits that are interesting again. |
| public RevFlag | Returns: flag marking commits that should become unshallow.Get flag marking commits that should become unshallow. |
| getDeepenNotFlag | back to summary |
|---|---|
| public RevFlag getDeepenNotFlag() Get deepen-not flag
| |
| getDeepenNots | back to summary |
|---|---|
| public default List Get deepen-not values | |
| getDeepenSince | back to summary |
|---|---|
| public default int getDeepenSince() Get deepen-since value
| |
| getDepth | back to summary |
|---|---|
| public int getDepth() Get depth to filter to.
| |
| getReinterestingFlag | back to summary |
|---|---|
| public RevFlag getReinterestingFlag() Get flag marking commits that are interesting again.
| |
| getUnshallowFlag | back to summary |
|---|---|
| public RevFlag getUnshallowFlag() Get flag marking commits that should become unshallow.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv int | depth
Depth of this commit in the graph, via shortest path. |
| pack-priv boolean | |
| pack-priv boolean | makesChildBoundary
True if this commit was excluded due to a shallow fetch setting. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public boolean | Returns: true if at least one of this commit's parents was excluded due to a shallow fetch setting, false otherwiseWhether at least one commit was excluded due to shallow fetch |
| depth | back to summary |
|---|---|
| pack-priv int depth Depth of this commit in the graph, via shortest path. | |
| isBoundary | back to summary |
|---|---|
| pack-priv boolean isBoundary | |
| makesChildBoundary | back to summary |
|---|---|
| pack-priv boolean makesChildBoundary True if this commit was excluded due to a shallow fetch setting. All its children are thus boundary commits. | |
| Commit | back to summary |
|---|---|
| protected Commit(AnyObjectId id) Initialize a new commit.
| |
| getDepth | back to summary |
|---|---|
| public int getDepth() Get depth
| |
| isBoundary | back to summary |
|---|---|
| public boolean isBoundary() Whether at least one commit was excluded due to shallow fetch
| |
| Modifier and Type | Field and Description |
|---|---|
| private final RevFlag | |
| private List | |
| private int | |
| private final int | |
| private final RevFlag | |
| private final RevFlag |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected RevCommit | createCommit(AnyObjectId
the object this walker requires a commit reference for. id)Overrides org. Construct a new unparsed commit for the given object. |
| public RevFlag | getDeepenNotFlag()
Implements org. Get deepen-not flag |
| public List | getDeepenNots()
Overrides default org. Get deepen-not values |
| public int | getDeepenSince()
Overrides default org. Get deepen-since value |
| public int | |
| public RevFlag | getReinterestingFlag()
Implements org. Get flag marking commits that are interesting again. |
| public RevFlag | getUnshallowFlag()
Implements org. Get flag marking commits that should become unshallow. |
| public void | |
| public void | markUnshallow(RevObject
Commit to mark c)Mark an element which used to be shallow in the client, but which should now be considered a full commit. |
| DEEPEN_NOT | back to summary |
|---|---|
| private final RevFlag DEEPEN_NOT | |
| deepenNots | back to summary |
|---|---|
| private List<ObjectId> deepenNots | |
| deepenSince | back to summary |
|---|---|
| private int deepenSince | |
| depth | back to summary |
|---|---|
| private final int depth | |
| REINTERESTING | back to summary |
|---|---|
| private final RevFlag REINTERESTING | |
| UNSHALLOW | back to summary |
|---|---|
| private final RevFlag UNSHALLOW | |
| ObjectWalk | back to summary |
|---|---|
| public ObjectWalk(Repository repo, int depth) Create ObjectWalk
| |
| ObjectWalk | back to summary |
|---|---|
| public ObjectWalk(ObjectReader or, int depth) Create ObjectWalk
| |
| createCommit | back to summary |
|---|---|
| protected RevCommit createCommit(AnyObjectId id) Overrides org. Doc from org. Construct a new unparsed commit for the given object.
| |
| getDeepenNotFlag | back to summary |
|---|---|
| public RevFlag getDeepenNotFlag() Implements org. Doc from org. Get deepen-not flag | |
| getDeepenNots | back to summary |
|---|---|
| public List Overrides default org. Doc from org. Get deepen-not values | |
| getDeepenSince | back to summary |
|---|---|
| public int getDeepenSince() Overrides default org. Doc from org. Get deepen-since value
| |
| getDepth | back to summary |
|---|---|
| public int getDepth() Implements org. Doc from org. Get depth to filter to.
| |
| getReinterestingFlag | back to summary |
|---|---|
| public RevFlag getReinterestingFlag() Implements org. Doc from org. Get flag marking commits that are interesting again. | |
| getUnshallowFlag | back to summary |
|---|---|
| public RevFlag getUnshallowFlag() Implements org. Doc from org. Get flag marking commits that should become unshallow. | |
| markRoot | back to summary |
|---|---|
| public void markRoot(RevObject o) throws MissingObjectException, IncorrectObjectTypeException, IOException Mark a root commit (i.e., one whose depth should be considered 0.)
| |
| markUnshallow | back to summary |
|---|---|
| public void markUnshallow(RevObject c) throws MissingObjectException, IncorrectObjectTypeException, IOException Mark an element which used to be shallow in the client, but which should now be considered a full commit. Any ancestors of this commit should be included in the walk, even if they are the ancestor of an uninteresting commit.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final RevFlag | |
| private List | |
| private int | |
| private final int | |
| private final RevFlag | |
| private final RevFlag |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected RevCommit | createCommit(AnyObjectId
the object this walker requires a commit reference for. id)Overrides org. Construct a new unparsed commit for the given object. |
| public RevFlag | getDeepenNotFlag()
Implements org. Get deepen-not flag |
| public List | getDeepenNots()
Overrides default org. Get deepen-not values |
| public int | getDeepenSince()
Overrides default org. Get deepen-since value |
| public int | |
| public RevFlag | getReinterestingFlag()
Implements org. Get flag marking commits that are interesting again. |
| public RevFlag | getUnshallowFlag()
Implements org. Get flag marking commits that should become unshallow. |
| public void | |
| public void | setDeepenNots(List<ObjectId>
specified objects deepenNots)Mark objects that the client specified using --shallow-exclude. |
| public void | |
| public DepthWalk. | toObjectWalkWithSameObjects()
Overrides org. Convert to ObjectWalk with same objects |
| DEEPEN_NOT | back to summary |
|---|---|
| private final RevFlag DEEPEN_NOT | |
| deepenNots | back to summary |
|---|---|
| private List<ObjectId> deepenNots | |
| deepenSince | back to summary |
|---|---|
| private int deepenSince | |
| depth | back to summary |
|---|---|
| private final int depth | |
| REINTERESTING | back to summary |
|---|---|
| private final RevFlag REINTERESTING | |
| UNSHALLOW | back to summary |
|---|---|
| private final RevFlag UNSHALLOW | |
| RevWalk | back to summary |
|---|---|
| public RevWalk(Repository repo, int depth) Create RevWalk
| |
| RevWalk | back to summary |
|---|---|
| public RevWalk(ObjectReader or, int depth) Create RevWalk
| |
| createCommit | back to summary |
|---|---|
| protected RevCommit createCommit(AnyObjectId id) Overrides org. Doc from org. Construct a new unparsed commit for the given object.
| |
| getDeepenNotFlag | back to summary |
|---|---|
| public RevFlag getDeepenNotFlag() Implements org. Doc from org. Get deepen-not flag | |
| getDeepenNots | back to summary |
|---|---|
| public List Overrides default org. Doc from org. Get deepen-not values | |
| getDeepenSince | back to summary |
|---|---|
| public int getDeepenSince() Overrides default org. Doc from org. Get deepen-since value
| |
| getDepth | back to summary |
|---|---|
| public int getDepth() Implements org. Doc from org. Get depth to filter to.
| |
| getReinterestingFlag | back to summary |
|---|---|
| public RevFlag getReinterestingFlag() Implements org. Doc from org. Get flag marking commits that are interesting again. | |
| getUnshallowFlag | back to summary |
|---|---|
| public RevFlag getUnshallowFlag() Implements org. Doc from org. Get flag marking commits that should become unshallow. | |
| markRoot | back to summary |
|---|---|
| public void markRoot(RevCommit c) throws MissingObjectException, IncorrectObjectTypeException, IOException Mark a root commit (i.e., one whose depth should be considered 0.)
| |
| setDeepenNots | back to summary |
|---|---|
| public void setDeepenNots(List<ObjectId> deepenNots) Mark objects that the client specified using --shallow-exclude. Objects that are not commits have no effect. | |
| setDeepenSince | back to summary |
|---|---|
| public void setDeepenSince(int limit) Sets the deepen-since value.
| |
| toObjectWalkWithSameObjects | back to summary |
|---|---|
| public DepthWalk. Overrides org. Convert to ObjectWalk with same objects
| |