[go: up one dir, main page]

gix/
state.rs

1/// Tell what operation is currently in progress.
2#[derive(Debug, PartialEq, Eq)]
3pub enum InProgress {
4    /// A mailbox is being applied.
5    ApplyMailbox,
6    /// A rebase is happening while a mailbox is being applied.
7    // TODO: test
8    ApplyMailboxRebase,
9    /// A git bisect operation has not yet been concluded.
10    Bisect,
11    /// A cherry pick operation.
12    CherryPick,
13    /// A cherry pick with multiple commits pending.
14    CherryPickSequence,
15    /// A merge operation.
16    Merge,
17    /// A rebase operation.
18    Rebase,
19    /// An interactive rebase operation.
20    RebaseInteractive,
21    /// A revert operation.
22    Revert,
23    /// A revert operation with multiple commits pending.
24    RevertSequence,
25}