Skip to content

fix: allow --relative with wt.nocd=create - #236

Open
yoichi wants to merge 1 commit into
k1LoW:mainfrom
yoichi:allow-relative-with-nocd-create
Open

yoichi wants to merge 1 commit into
k1LoW:mainfrom
yoichi:allow-relative-with-nocd-create

Conversation

@yoichi

@yoichi yoichi commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

Resolve the worktree root before checking whether the target is an existing worktree. With --relative, the target path may point to a subdirectory, causing the check to fail and preventing cd when wt.nocd=create is set.

Resolve the worktree root before checking whether the target is an
existing worktree. With `--relative`, the target path may point to a
subdirectory, causing the check to fail and preventing `cd` when
`wt.nocd=create` is set.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant