Enum git_topic_stage::InvalidCommitReason
[−]
[src]
pub enum InvalidCommitReason {
NonMergeCommit,
OctopusMerge,
NotRelated,
NotACommit,
InvalidSubject(String),
MissingId,
MissingUrl,
ZeroId,
}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
NonMergeCommitA non-merge commit was found.
OctopusMergeAn octopus merge commit was found.
NotRelatedThe integration branch is not related to the base.
NotACommitThe integration branch does not point to a commit.
InvalidSubject(String)A merge commit has an invalid commit subject.
MissingIdA merge commit is missing an ID.
MissingUrlA merge commit is missing a URL.
ZeroIdA topic has in ID of 0, which is reserved for the base branch.
Trait Implementations
impl Debug for InvalidCommitReason[src]
impl PartialEq for InvalidCommitReason[src]
fn eq(&self, __arg_0: &InvalidCommitReason) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &InvalidCommitReason) -> bool
This method tests for !=.