Skip to main content

execute

Function execute 

Source
pub fn execute(plan: Plan, opts: &RebaseOptions) -> Vec<WorktreeOutcome>
Expand description

Executes a Plan, rebasing every RebaseResult::WouldRebase worktree.

The rest pass through unchanged. Rebases run sequentially (deterministic output; no contention on the shared object database). A conflicting rebase is aborted so the worktree is left exactly as it was — unless RebaseOptions::keep_conflicts is set, in which case it is left mid-rebase. Either way the batch continues with the remaining worktrees.