| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final int | COMMIT_TIME_SLOP
Amount of slop to allow walking past the earliest requested commit. |
| private static final int | MERGE_COST
Cost of traversing a merge commit compared to a linear history. |
| private int | |
| private final List | |
| private List | |
| private final List | |
| private final RevWalk |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public NameRevCommand | |
| public NameRevCommand | |
| public NameRevCommand | Returns: thisAdd all annotated tags under |
| public NameRevCommand | |
| private void | |
| private void | |
| public NameRevCommand | |
| private void | |
| public Map | call()
Implements abstract org. Implements java. Computes a result, or throws an exception if unable to do so. |
| private long | |
| private int | |
| pack-priv NameRevCommand | |
| private static String |
| COMMIT_TIME_SLOP | back to summary |
|---|---|
| private static final int COMMIT_TIME_SLOP Amount of slop to allow walking past the earliest requested commit. | |
| MERGE_COST | back to summary |
|---|---|
| private static final int MERGE_COST Cost of traversing a merge commit compared to a linear history. | |
| mergeCost | back to summary |
|---|---|
| private int mergeCost | |
| prefixes | back to summary |
|---|---|
| private final List<String> prefixes | |
| refs | back to summary |
|---|---|
| private List<Ref> refs | |
| revs | back to summary |
|---|---|
| private final List<ObjectId> revs | |
| walk | back to summary |
|---|---|
| private final RevWalk walk | |
| NameRevCommand | back to summary |
|---|---|
| protected NameRevCommand(Repository repo) Create a new name-rev command.
| |
| add | back to summary |
|---|---|
| public NameRevCommand add(ObjectId id) throws MissingObjectException, JGitInternalException Add an object to search for.
| |
| add | back to summary |
|---|---|
| public NameRevCommand add(Iterable<ObjectId> ids) throws MissingObjectException, JGitInternalException Add multiple objects to search for.
| |
| addAnnotatedTags | back to summary |
|---|---|
| public NameRevCommand addAnnotatedTags() Add all annotated tags under
Calls
| |
| addPrefix | back to summary |
|---|---|
| public NameRevCommand addPrefix(String prefix) Add a ref prefix to the set that results must match.
If an object matches multiple refs equally well, the first matching ref
added with
| |
| addPrefix | back to summary |
|---|---|
| private void addPrefix(String prefix, Map<ObjectId, String> nonCommits, FIFORevQueue pending) throws IOException | |
| addPrefixes | back to summary |
|---|---|
| private void addPrefixes(Map<ObjectId, String> nonCommits, FIFORevQueue pending) throws IOException | |
| addRef | back to summary |
|---|---|
| public NameRevCommand addRef(Ref ref) Add a ref to the set that all results must match.
If an object matches multiple refs equally well, the first matching ref
added with
| |
| addRef | back to summary |
|---|---|
| private void addRef(Ref ref, Map<ObjectId, String> nonCommits, FIFORevQueue pending) throws IOException | |
| call | back to summary |
|---|---|
| public Map Implements abstract org. Implements java. Doc from org. Computes a result, or throws an exception if unable to do so. Execute the command
| |
| compare | back to summary |
|---|---|
| private long compare(String leftTip, long leftCost, String rightTip, long rightCost) | |
| minCommitTime | back to summary |
|---|---|
| private int minCommitTime() throws IOException | |
| setMergeCost | back to summary |
|---|---|
| pack-priv NameRevCommand setMergeCost(int cost) | |
| simplify | back to summary |
|---|---|
| private static String simplify(String refName) | |
| Modifier and Type | Field and Description |
|---|---|
| private long | |
| private int | |
| private String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private StringBuilder | |
| public String | toString()
Overrides org. Returns a string representation of the object. |
| cost | back to summary |
|---|---|
| private long cost | |
| distance | back to summary |
|---|---|
| private int distance | |
| tip | back to summary |
|---|---|
| private String tip | |
| NameRevCommit | back to summary |
|---|---|
| private NameRevCommit(AnyObjectId id) | |
| format | back to summary |
|---|---|
| private StringBuilder format() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |