Enum gix_submodule::config::Ignore
source · pub enum Ignore {
All,
Dirty,
Untracked,
None,
}
Expand description
Determine how the submodule participates in git status
queries. This setting also affects git diff
.
Variants§
All
Submodule changes won’t be considered at all, which is the fastest option.
Note that changes to the submodule hash in the superproject will still be observable.
Dirty
Ignore any changes to the submodule working tree, only show committed differences between the HEAD
of the submodule
compared to the recorded commit in the superproject.
Untracked
Only ignore untracked files in the submodule, but show modifications to the submodule working tree as well as differences between the recorded commit in the superproject and the checked-out commit in the submodule.
None
No modifications to the submodule are ignored, which shows untracked files, modified files in the submodule worktree as well as differences between the recorded commit in the superproject and the checked-out commit in the submodule.
Trait Implementations§
source§impl Ord for Ignore
impl Ord for Ignore
source§impl PartialEq for Ignore
impl PartialEq for Ignore
source§impl PartialOrd for Ignore
impl PartialOrd for Ignore
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read more