org.eclipse.jgit.revwalk.RevWalk and
org.eclipse.jgit.revwalk.ObjectWalk .
| Modifier and Type | Field and Description |
|---|---|
| public static final RevSort | BOUNDARY
Include |
| public static final RevSort | COMMIT_TIME_DESC
Sort by commit time, descending (newest first, oldest last). |
| public static final RevSort | NONE
No specific sorting is requested. |
| public static final RevSort | REVERSE
Flip the output into the reverse ordering. |
| public static final RevSort | TOPO
Topological sorting (all children before parents). |
| public static final RevSort | TOPO_KEEP_BRANCH_TOGETHER
Topological sorting (all children before parents) without intermixing lines of history. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static RevSort | |
| public static RevSort[] |
| BOUNDARY | back to summary |
|---|---|
| public static final RevSort BOUNDARY Include A boundary commit is a UNINTERESTING parent of an interesting commit that was previously output. | |
| COMMIT_TIME_DESC | back to summary |
|---|---|
| public static final RevSort COMMIT_TIME_DESC Sort by commit time, descending (newest first, oldest last).
This strategy can be combined with | |
| NONE | back to summary |
|---|---|
| public static final RevSort NONE No specific sorting is requested. Applications should not rely upon the ordering produced by this strategy. Any ordering in the output is caused by low level implementation details and may change without notice. | |
| REVERSE | back to summary |
|---|---|
| public static final RevSort REVERSE Flip the output into the reverse ordering. This strategy can be combined with the others described by this type as it is usually performed at the very end. | |
| TOPO | back to summary |
|---|---|
| public static final RevSort TOPO Topological sorting (all children before parents).
This strategy can be combined with | |
| TOPO_KEEP_BRANCH_TOGETHER | back to summary |
|---|---|
| public static final RevSort TOPO_KEEP_BRANCH_TOGETHER Topological sorting (all children before parents) without intermixing lines of history.
This behavior more closely resembles C Git's git-log --topo-order than
| |
| RevSort | back to summary |
|---|---|
| private RevSort() | |
| valueOf | back to summary |
|---|---|
| public static RevSort valueOf(String name) | |
| values | back to summary |
|---|---|
| public static RevSort[] values() | |