pub enum BlameDirection {
Addition,
Reverse,
}Expand description
MG.23f2: which question this blame answers.
Two directions, not two modes: the chunking, the headings and the
chords are identical and only the argv differs. Mode state now,
not a buffer name — a buffer was the only carrier the old shape
had, and it forced p in a reverse view to open a new buffer
rather than walk in place.
Variants§
Addition
git blame <rev> -- <path> — for each line, the commit that
introduced it.
Reverse
git blame --reverse <rev>..HEAD -- <path> — for each line, the
last commit in which it still existed. Lines annotated with
something other than HEAD are the ones that have since gone
away.
Trait Implementations§
Source§impl Clone for BlameDirection
impl Clone for BlameDirection
Source§fn clone(&self) -> BlameDirection
fn clone(&self) -> BlameDirection
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 BlameDirection
Source§impl Debug for BlameDirection
impl Debug for BlameDirection
Source§impl Default for BlameDirection
impl Default for BlameDirection
Source§fn default() -> BlameDirection
fn default() -> BlameDirection
Returns the “default value” for a type. Read more
impl Eq for BlameDirection
Source§impl PartialEq for BlameDirection
impl PartialEq for BlameDirection
impl StructuralPartialEq for BlameDirection
Auto Trait Implementations§
impl Freeze for BlameDirection
impl RefUnwindSafe for BlameDirection
impl Send for BlameDirection
impl Sync for BlameDirection
impl Unpin for BlameDirection
impl UnsafeUnpin for BlameDirection
impl UnwindSafe for BlameDirection
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more