org.eclipse.jgit.revwalk.RevWalk .
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static int | Returns: the number of commitsthe rev walk to use walk, final RevCommit the commit to start counting from start, final RevCommit the commit where counting should end, or null if counting
should be done until there are no more commits end)Count the number of commits that are reachable from |
| public static List | Returns: the commits foundthe rev walk to use walk, final RevCommit the commit to start counting from start, final RevCommit the commit where counting should end, or null if counting
should be done until there are no more commits end)Find commits that are reachable from |
| public static List | Returns: the list of branches a given commit is reachable fromthe commit we are looking at commit, RevWalk The RevWalk to be used. revWalk, Collection<Ref> the set of branches we want to see reachability from refs)Find the list of branches a given commit is reachable from when following parents. |
| public static List | Returns: the list of branches a given commit is reachable fromthe commit we are looking at commit, RevWalk The RevWalk to be used. revWalk, Collection<Ref> the set of branches we want to see reachability from refs, ProgressMonitor the callback for progress and cancellation monitor)Find the list of branches a given commit is reachable from when following parents. |
| RevWalkUtils | back to summary |
|---|---|
| private RevWalkUtils() | |
| count | back to summary |
|---|---|
| public static int count(final RevWalk walk, final RevCommit start, final RevCommit end) throws MissingObjectException, IncorrectObjectTypeException, IOException Count the number of commits that are reachable from
Note that this method calls
| |
| find | back to summary |
|---|---|
| public static List Find commits that are reachable from
Note that this method calls
| |
| findBranchesReachableFrom | back to summary |
|---|---|
| public static List Find the list of branches a given commit is reachable from when following parents.
Note that this method calls
In order to improve performance this method assumes clock skew among committers is never larger than 24 hours.
| |
| findBranchesReachableFrom | back to summary |
|---|---|
| public static List Find the list of branches a given commit is reachable from when following parents.
Note that this method calls
In order to improve performance this method assumes clock skew among committers is never larger than 24 hours.
| |