fix(kugetsu): wrap cmd_continue in subshell with cd for correct worktree dir #129
Reference in New Issue
Block a user
Delete Branch "fix/cmd-continue-worktree-dir"
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
The
--dirflag only sets directory for the subprocess, not the session's stored directory in opencode's SQLite DB. This was already fixed forcmd_startin v0.1.10, butcmd_continuestill had the bug.Fix
Apply the same subshell+cd pattern that was used in
cmd_start:Testing
kugetsu start <issue> <message>kugetsu continue <issue> <message>Closes
Fixes #127
lgtm