pub enum NotesRewriteMode {
Concatenate,
CatSortUniq,
Overwrite,
Ignore,
}Expand description
How to combine note blobs when several rewritten commits map onto one target.
Variants§
Concatenate
Append the source note after the destination with a blank line between (Git default).
CatSortUniq
Concatenate, sort lines, and deduplicate.
Overwrite
Replace the destination note with the source.
Ignore
Keep an existing destination note; copy only when the destination had none.
Trait Implementations§
Source§impl Clone for NotesRewriteMode
impl Clone for NotesRewriteMode
impl Copy for NotesRewriteMode
Source§impl Debug for NotesRewriteMode
impl Debug for NotesRewriteMode
impl Eq for NotesRewriteMode
Source§impl PartialEq for NotesRewriteMode
impl PartialEq for NotesRewriteMode
impl StructuralPartialEq for NotesRewriteMode
Auto Trait Implementations§
impl Forget for NotesRewriteMode
impl Freeze for NotesRewriteMode
impl RefUnwindSafe for NotesRewriteMode
impl Send for NotesRewriteMode
impl Sync for NotesRewriteMode
impl Unpin for NotesRewriteMode
impl UnsafeUnpin for NotesRewriteMode
impl UnwindSafe for NotesRewriteMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.