pub struct RevListResult {Show 13 fields
pub commits: Vec<ObjectId>,
pub objects: Vec<(ObjectId, String)>,
pub omitted_objects: Vec<ObjectId>,
pub missing_objects: Vec<ObjectId>,
pub boundary_commits: Vec<ObjectId>,
pub left_right_map: HashMap<ObjectId, bool>,
pub cherry_equivalent: HashSet<ObjectId>,
pub per_commit_object_counts: Vec<usize>,
pub object_walk_tips: Vec<ObjectId>,
pub objects_print_commit: Vec<bool>,
pub object_segments: Vec<Vec<(ObjectId, String)>>,
pub bitmap_object_format: bool,
pub tip_annotated_tag_by_commit: HashMap<ObjectId, ObjectId>,
}Expand description
Final commit selection result.
Fields§
§commits: Vec<ObjectId>Selected commits in final output order, after skip/max/reverse.
objects: Vec<(ObjectId, String)>Reachable non-commit objects when --objects is active.
Each entry is (oid, optional_path).
omitted_objects: Vec<ObjectId>Objects omitted by --filter (for --filter-print-omitted).
missing_objects: Vec<ObjectId>Referenced objects missing from the object database.
boundary_commits: Vec<ObjectId>Boundary commits (excluded parents shown with - prefix).
left_right_map: HashMap<ObjectId, bool>For --left-right: mapping commit OID -> true=left, false=right.
cherry_equivalent: HashSet<ObjectId>For --cherry-mark: set of commits that are equivalent (patch-id match).
per_commit_object_counts: Vec<usize>Per-commit object counts (parallel to commits) for --in-commit-order.
When non-empty, objects[sum(counts[..i])..sum(counts[..=i])] are the objects
introduced by commits[i].
object_walk_tips: Vec<ObjectId>Commit OIDs given as positive revision tips (for Git USER_GIVEN / filter edge cases).
objects_print_commit: Vec<bool>When --objects is active, whether to print the commit line before that commit’s objects.
Aligns with Git marking user-given tips vs NOT_USER_GIVEN commits in list-objects.
object_segments: Vec<Vec<(ObjectId, String)>>When --objects is active and not --in-commit-order, objects grouped per commit walk plus
a final segment for explicit object_roots (length commits.len() + 1).
bitmap_object_format: boolTrue when --use-bitmap-index --objects should format trees/blobs as bare OIDs (no paths).
tip_annotated_tag_by_commit: HashMap<ObjectId, ObjectId>When a positive spec named a ref to an annotated tag of a commit, maps peeled commit → tag OID.
Trait Implementations§
Source§impl Clone for RevListResult
impl Clone for RevListResult
Source§fn clone(&self) -> RevListResult
fn clone(&self) -> RevListResult
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more