pub enum CommitterMode {
MatchAuthor,
Keep,
}Expand description
What happens to the committer of a commit whose author fields are edited.
Variants§
MatchAuthor
Committer name/email/date follow whichever author fields were edited.
Keep
Committer line is left byte-identical.
Trait Implementations§
Source§impl Clone for CommitterMode
impl Clone for CommitterMode
impl Copy for CommitterMode
Source§impl Debug for CommitterMode
impl Debug for CommitterMode
Source§impl Default for CommitterMode
impl Default for CommitterMode
impl Eq for CommitterMode
Source§impl From<CommitterArg> for CommitterMode
impl From<CommitterArg> for CommitterMode
Source§fn from(arg: CommitterArg) -> Self
fn from(arg: CommitterArg) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CommitterMode
impl PartialEq for CommitterMode
impl StructuralPartialEq for CommitterMode
Auto Trait Implementations§
impl Freeze for CommitterMode
impl RefUnwindSafe for CommitterMode
impl Send for CommitterMode
impl Sync for CommitterMode
impl Unpin for CommitterMode
impl UnsafeUnpin for CommitterMode
impl UnwindSafe for CommitterMode
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