fix: remove doubled .kugetsu-worktrees path segment in issue_ref_to_worktree_path #180
Reference in New Issue
Block a user
Delete Branch "fix/issue-179-worktree-path-doubled"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Root Cause
The function was appending .kugetsu-worktrees/ to parent_dir even though parent_dir (which defaults to WORKTREES_DIR) already contains .kugetsu-worktrees in its path.
Fix
Changed line 13 in kugetsu-worktree.sh to remove the doubled path segment.
lgtm