pub enum NoteMergeStrategy {
Manual,
Ours,
Theirs,
Union,
CatSortUniq,
}Expand description
How git notes merge resolves a conflict. Magit offers the same
set, which is git’s own.
Variants§
Manual
Stop and leave the conflict for the user to resolve, then
--commit or --abort. Git’s default.
Ours
Theirs
Union
CatSortUniq
Implementations§
Trait Implementations§
Source§impl Clone for NoteMergeStrategy
impl Clone for NoteMergeStrategy
Source§fn clone(&self) -> NoteMergeStrategy
fn clone(&self) -> NoteMergeStrategy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NoteMergeStrategy
Source§impl Debug for NoteMergeStrategy
impl Debug for NoteMergeStrategy
impl Eq for NoteMergeStrategy
Source§impl PartialEq for NoteMergeStrategy
impl PartialEq for NoteMergeStrategy
impl StructuralPartialEq for NoteMergeStrategy
Auto Trait Implementations§
impl Freeze for NoteMergeStrategy
impl RefUnwindSafe for NoteMergeStrategy
impl Send for NoteMergeStrategy
impl Sync for NoteMergeStrategy
impl Unpin for NoteMergeStrategy
impl UnsafeUnpin for NoteMergeStrategy
impl UnwindSafe for NoteMergeStrategy
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more