Unlike RevWalk this subclass is able to remember starting roots that include annotated tags, or arbitrary trees or blobs. Once commit generation is complete and all commits have been popped by the application, individual annotated tag, tree and blob objects can be popped through the additional method {@link #nextObject()}.
Tree and blob objects reachable from interesting commits are automatically scheduled for inclusion in the results of {@link #nextObject()}, returning each object exactly once. Objects are sorted and returned according to the the commits that reference them and the order they appear within a tree. Ordering can be affected by changing the {@link RevSort} used to order thecommits that are returned first.
|
|