pub fn trunk_held_elsewhere(trunk: &str) -> Result<bool>Expand description
Whether the trunk cannot be fetched because another worktree has it checked out, reporting the skip when so.
Git refuses fetch <remote> <trunk>:<trunk> while another worktree holds the
trunk - the normal state of a worktree-per-branch layout. Skipping beats the
alternatives: failing outright would make sync and merge unusable from a
worktree, and fetching only the remote-tracking ref would leave the local
trunk quietly stale for the rebase that follows.