Skip to main content

plan_worktree

Function plan_worktree 

Source
pub fn plan_worktree(dir: &Path, wt: &Path, opts: &Options) -> Result<Plan>
Expand description

Judge only the worktree at wt, as a tool does with a worktree it made once its work landed. The plan has that one item, and deletes its branch only if no other worktree has it

ยงErrors

When wt is not a worktree of the repository at dir, or is an extra checkout, or as plan