pub struct WtStatusState {Show 20 fields
pub merge_in_progress: bool,
pub rebase_interactive_in_progress: bool,
pub rebase_in_progress: bool,
pub rebase_branch: Option<String>,
pub rebase_onto: Option<String>,
pub am_in_progress: bool,
pub am_empty_patch: bool,
pub cherry_pick_in_progress: bool,
pub cherry_pick_head_oid: Option<ObjectId>,
pub revert_in_progress: bool,
pub revert_head_oid: Option<ObjectId>,
pub bisect_in_progress: bool,
pub bisecting_from: Option<String>,
pub detached_from: Option<String>,
pub detached_at: bool,
pub grit_replay_sequencer: bool,
pub grit_replay_kind: Option<InProgressOperation>,
pub grit_replay_empty_stop: bool,
pub grit_rebase_in_progress: bool,
pub rewrite_apply_in_progress: bool,
}Expand description
Snapshot of repository state used by git status long-format output (wt-status.c).
This mirrors Git’s struct wt_status_state closely enough for advice lines and
branch headers (merge, rebase, cherry-pick, revert, bisect, am, detached HEAD).
Fields§
§merge_in_progress: boolMERGE_HEAD exists (merge or merge+rebase).
rebase_interactive_in_progress: bool.git/rebase-merge/ exists and interactive is present.
rebase_in_progress: boolRebase without interactive marker (rebase-merge non-interactive or rebase-apply).
rebase_branch: Option<String>Display string for the branch being rebased (from head-name, may be absent).
rebase_onto: Option<String>Display string for the rebase onto commit (from onto, abbreviated OID or name).
am_in_progress: boolrebase-apply/applying exists.
am_empty_patch: boolEmpty patch in am session (rebase-apply/patch has size 0).
cherry_pick_in_progress: boolCHERRY_PICK_HEAD or sequencer pick without head.
cherry_pick_head_oid: Option<ObjectId>Commit being cherry-picked; None when only the sequencer records progress.
revert_in_progress: boolREVERT_HEAD or sequencer revert without head.
revert_head_oid: Option<ObjectId>Commit being reverted when Self::revert_in_progress is true.
bisect_in_progress: boolBISECT_LOG exists (checked under common dir).
bisecting_from: Option<String>Label read from BISECT_LOG for status output when bisecting.
detached_from: Option<String>Detached HEAD: human label (wt_status_get_detached_from).
detached_at: boolTrue when HEAD OID equals the detached tip OID.
grit_replay_sequencer: boolGrit wrote .git/sequencer/grit-opts for this replay (show pick/revert operation hints).
grit_replay_kind: Option<InProgressOperation>When Self::grit_replay_sequencer is true, the persisted pick/revert kind from grit-opts.
grit_replay_empty_stop: boolGrit --empty stop pause without index conflicts (suggest --skip, not --continue).
grit_rebase_in_progress: boolGrit wrote .git/rebase-merge/grit-plan for a resumable rebase session.
rewrite_apply_in_progress: boolGrit recorded an incomplete rewrite apply under .git/grit/rewrite-apply/.