public class RevFlag
extends java.lang.Object
RevObject
s.
To create a flag use
RevWalk.newFlag(String)
.
Modifier and Type | Class and Description |
---|---|
(package private) static class |
RevFlag.StaticRevFlag |
Modifier and Type | Field and Description |
---|---|
(package private) int |
mask |
(package private) java.lang.String |
name |
static RevFlag |
SEEN
Set on RevCommit instances added to
RevWalk.pending queue. |
static RevFlag |
UNINTERESTING
Uninteresting by
RevWalk.markUninteresting(RevCommit) . |
(package private) RevWalk |
walker |
Constructor and Description |
---|
RevFlag(RevWalk w,
java.lang.String n,
int m) |
Modifier and Type | Method and Description |
---|---|
RevWalk |
getRevWalk()
Get the revision walk instance this flag was created from.
|
java.lang.String |
toString() |
public static final RevFlag UNINTERESTING
RevWalk.markUninteresting(RevCommit)
.
We flag commits as uninteresting if the caller does not want commits
reachable from a commit to RevWalk.markUninteresting(RevCommit)
.
This flag is always carried into the commit's parents and is a key part
of the "rev-list B --not A" feature; A is marked UNINTERESTING.
This is a static flag. Its RevWalk is not available.
public static final RevFlag SEEN
RevWalk.pending
queue.
We use this flag to avoid adding the same commit instance twice to our queue, especially if we reached it by more than one path.
This is a static flag. Its RevWalk is not available.
final RevWalk walker
final java.lang.String name
final int mask
RevFlag(RevWalk w, java.lang.String n, int m)
public RevWalk getRevWalk()
public java.lang.String toString()
toString
in class java.lang.Object