pub enum LogRefsConfig {
Unset,
None,
Normal,
Always,
}Expand description
Core logAllRefUpdates modes (after config lookup), matching Git’s log_refs_config.
Variants§
Unset
core.logAllRefUpdates not set; resolved per-repo (bare vs non-bare).
None
Explicitly disabled.
Normal
true — log branch-like refs only (see should_autocreate_reflog).
Always
always — log updates to any ref.
Trait Implementations§
Source§impl Clone for LogRefsConfig
impl Clone for LogRefsConfig
Source§fn clone(&self) -> LogRefsConfig
fn clone(&self) -> LogRefsConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LogRefsConfig
impl Debug for LogRefsConfig
Source§impl PartialEq for LogRefsConfig
impl PartialEq for LogRefsConfig
impl Copy for LogRefsConfig
impl Eq for LogRefsConfig
impl StructuralPartialEq for LogRefsConfig
Auto Trait Implementations§
impl Freeze for LogRefsConfig
impl RefUnwindSafe for LogRefsConfig
impl Send for LogRefsConfig
impl Sync for LogRefsConfig
impl Unpin for LogRefsConfig
impl UnsafeUnpin for LogRefsConfig
impl UnwindSafe for LogRefsConfig
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
Mutably borrows from an owned value. Read more