pub struct RevListOptions {Show 49 fields
pub all_refs: bool,
pub first_parent: bool,
pub ancestry_path: bool,
pub ancestry_path_bottoms: Vec<ObjectId>,
pub simplify_by_decoration: bool,
pub output_mode: OutputMode,
pub quiet: bool,
pub count: bool,
pub skip: usize,
pub max_count: Option<usize>,
pub ordering: OrderingMode,
pub reverse: bool,
pub objects: bool,
pub no_object_names: bool,
pub boundary: bool,
pub left_right: bool,
pub left_only: bool,
pub right_only: bool,
pub cherry_mark: bool,
pub cherry_pick: bool,
pub min_parents: Option<usize>,
pub max_parents: Option<usize>,
pub symmetric_left: Option<ObjectId>,
pub symmetric_right: Option<ObjectId>,
pub paths: Vec<String>,
pub full_history: bool,
pub sparse: bool,
pub simplify_merges: bool,
pub show_pulls: bool,
pub exclude_first_parent_only: bool,
pub filter: Option<ObjectFilter>,
pub filter_raw_specs: Vec<String>,
pub filter_provided_objects: bool,
pub filter_print_omitted: bool,
pub in_commit_order: bool,
pub no_kept_objects: bool,
pub missing_action: MissingAction,
pub use_bitmap_index: bool,
pub unpacked_only: bool,
pub bitmap_oid_only_objects: bool,
pub path_graph_reorder: bool,
pub until_cutoff: Option<i64>,
pub since_cutoff: Option<i64>,
pub include_reflog_entries: bool,
pub include_indexed_objects: bool,
pub use_commit_graph_bloom: bool,
pub commit_graph_read_changed_paths: bool,
pub commit_graph_changed_paths_version: i32,
pub bloom_stats: Option<BloomWalkStatsHandle>,
}Expand description
Parsed and normalized options for rev-list traversal.
Fields§
§all_refs: boolInclude all refs (--all) as positive tips.
first_parent: boolFollow only first parent when walking merges.
ancestry_path: boolEnable ancestry-path filtering.
ancestry_path_bottoms: Vec<ObjectId>Optional explicit ancestry-path pivot commits.
simplify_by_decoration: boolKeep only decorated commits after traversal.
output_mode: OutputModeCommit output mode.
quiet: boolSuppress commit output.
count: boolPrint only final count.
skip: usizeSkip N commits from selected list.
max_count: Option<usize>Optional maximum selected commits.
ordering: OrderingModeOrdering strategy.
reverse: boolReverse selected output order.
objects: boolList reachable objects (trees, blobs) in addition to commits.
no_object_names: boolSuppress object path names in –objects output.
boundary: boolShow boundary commits with - prefix.
left_right: boolShow left/right markers for symmetric diff.
left_only: boolFilter to left-only commits in symmetric diff.
right_only: boolFilter to right-only commits in symmetric diff.
cherry_mark: boolCherry-mark equivalent commits with = instead of +.
cherry_pick: boolCherry-pick: omit equivalent commits from output.
min_parents: Option<usize>Minimum number of parents a commit must have to be included.
max_parents: Option<usize>Maximum number of parents a commit may have to be included.
symmetric_left: Option<ObjectId>Symmetric-diff left OID (set by caller when A…B is used).
symmetric_right: Option<ObjectId>Symmetric-diff right OID (set by caller when A…B is used).
paths: Vec<String>Path filters (files after --).
full_history: boolShow full history (don’t simplify) for path-limited walks.
sparse: boolSparse mode: don’t prune non-matching commits.
simplify_merges: boolFurther simplify history after path limiting (--simplify-merges).
show_pulls: boolInclude “diverted” merge commits on the first-parent spine (--show-pulls).
exclude_first_parent_only: boolWhen walking excluded commits, only follow the first parent (--exclude-first-parent-only).
filter: Option<ObjectFilter>Object filter for --filter=<spec>.
filter_raw_specs: Vec<String>Raw --filter= argument strings in order (for GIT_TRACE when Git combines multiple filters).
filter_provided_objects: boolWhen set with --filter, explicitly given revision objects are filtered too.
filter_print_omitted: boolPrint omitted objects prefixed with ~.
in_commit_order: boolEmit objects interleaved with their introducing commit.
no_kept_objects: boolExclude objects in .keep pack files.
missing_action: MissingActionBehavior when referenced objects are missing.
use_bitmap_index: boolWhen set with --objects, omit path names from non-commit object lines (bitmap-style output).
unpacked_only: boolWhen set with --objects, list only objects not present in any pack file.
bitmap_oid_only_objects: boolWith --use-bitmap-index, emit OID-only object lines (no paths / trailing space) for filters
that match Git’s bitmap object formatting.
path_graph_reorder: boolReorder path-limited results for graph-friendly parent ordering (Git log / rev-list).
Internal dense passes for --sparse set this to false to avoid recursion.
until_cutoff: Option<i64>Exclude commits with committer date strictly after this Unix timestamp (--until / --before).
since_cutoff: Option<i64>Exclude commits with committer date strictly before this Unix timestamp (--since / --after).
include_reflog_entries: boolInclude OIDs from all reflogs as extra commit tips (git pack-objects --reflog).
include_indexed_objects: boolInclude blob OIDs from the index as object roots (git pack-objects --indexed-objects).
use_commit_graph_bloom: boolWhen true with pathspecs, consult commit-graph Bloom filters (matches core.commitGraph).
commit_graph_read_changed_paths: boolcommitGraph.readChangedPaths (default true).
commit_graph_changed_paths_version: i32commitGraph.changedPathsVersion (-1 = autodetect from graph).
bloom_stats: Option<BloomWalkStatsHandle>Optional trace counters for GIT_TRACE2_PERF Bloom statistics.
Trait Implementations§
Source§impl Clone for RevListOptions
impl Clone for RevListOptions
Source§fn clone(&self) -> RevListOptions
fn clone(&self) -> RevListOptions
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more