[][src]Enum git_topic_stage::InvalidCommitReason

pub enum InvalidCommitReason {
    NonMergeCommit,
    OctopusMerge,
    NotRelated,
    NotACommit,
    InvalidSubject(String),
    MissingId,
    MissingUrl,
    ZeroId,
    // some variants omitted
}

Why a commit is not a valid staging branch commit.

The staging branch format is such that its first-parent history consists solely of two-parent merge commits. It must also have the base commit as an ancestor.

Variants

NonMergeCommit

A non-merge commit was found.

OctopusMerge

An octopus merge commit was found.

NotRelated

The integration branch is not related to the base.

NotACommit

The integration branch does not point to a commit.

InvalidSubject(String)

A merge commit has an invalid commit subject.

MissingId

A merge commit is missing an ID.

MissingUrl

A merge commit is missing a URL.

ZeroId

A topic has in ID of 0, which is reserved for the base branch.

Trait Implementations

impl Eq for InvalidCommitReason[src]

impl PartialEq<InvalidCommitReason> for InvalidCommitReason[src]

impl Display for InvalidCommitReason[src]

impl Debug for InvalidCommitReason[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]