fix: remove doubled .kugetsu-worktrees path segment in issue_ref_to_worktree_path #180

Merged
shoko merged 1 commits from fix/issue-179-worktree-path-doubled into main 2026-04-06 05:27:16 +02:00
Owner

Summary

  • Fixes #179 - issue_ref_to_worktree_path() was creating paths with .kugetsu-worktrees/.kugetsu-worktrees/ instead of just the worktree name

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.

## Summary - Fixes #179 - issue_ref_to_worktree_path() was creating paths with .kugetsu-worktrees/.kugetsu-worktrees/ instead of just the worktree name ## 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.
shoko added 1 commit 2026-04-06 05:23:43 +02:00
Fixes #179 - cmd_start fails due to incorrect worktree path being created
with .kugetsu-worktrees/.kugetsu-worktrees/ instead of just the worktree name.
han approved these changes 2026-04-06 05:26:16 +02:00
han left a comment
First-time contributor

lgtm

lgtm
shoko merged commit 937b7c69de into main 2026-04-06 05:27:16 +02:00
Sign in to join this conversation.