#[non_exhaustive]pub enum BisectStep {
NextCandidate {
revision: RevSpec,
},
FirstBad {
revision: RevSpec,
},
}Expand description
The typed result of one git bisect classification step.
The bisect_start, bisect_good, bisect_bad, and bisect_skip methods
all return this value after Git has classified the current checkout. A
NextCandidate means that Git moved the worktree to
the returned revision and the consumer should run its test there. A
FirstBad means that Git finished the search; the
returned revision is the first bad commit and no further classification is
needed. The consumer owns the test loop and should call
GitApi::bisect_reset when it is done, including on an error or
cancellation.
This type is Git-only. It is deliberately not part of vcs-core because
Jujutsu has no corresponding bisect command.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
NextCandidate
Git checked out another revision for the consumer to test.
FirstBad
Git completed the search and identified the first bad revision.
Implementations§
Source§impl BisectStep
impl BisectStep
Trait Implementations§
Source§impl Clone for BisectStep
impl Clone for BisectStep
Source§fn clone(&self) -> BisectStep
fn clone(&self) -> BisectStep
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more