pub fn creates_worktrees(command: &ResolvedCommand) -> boolExpand description
What:
Whether a resolved command creates a linked worktree.
Why:
createsWorktrees:
git worktree add,
decided by the first positional token after worktree.
A git worktree move registers nothing new, so the ignored-state copy has nothing to do for it and it is forwarded
like any other command.
In TS you’d write (pseudocode):
function createsWorktrees(command: ResolvedGitCommand): boolean;