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.
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 PartialOrd for Ignore
impl PartialOrd for Ignore
impl Copy for Ignore
impl Eq for Ignore
impl StructuralPartialEq for Ignore
Auto Trait Implementations§
impl Freeze for Ignore
impl RefUnwindSafe for Ignore
impl Send for Ignore
impl Sync for Ignore
impl Unpin for Ignore
impl UnwindSafe for Ignore
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)