Skip to content

Conversation

@rbmarliere
Copy link

To tackle deletion and creation path issues, commit 6e1fa15 ("feat: Enable user to get "out" of a worktree") added the possibility of passing nil to change_dirs(). But the problems can be solved in a better way:

When deleting, check if the selection is the current tree then change dir to gitroot_dir() if so. When creating, add gitroot_dir() as prefix.

To tackle deletion and creation path issues, commit 6e1fa15 ("feat:
Enable user to get "out" of a worktree") added the possibility of passing
nil to change_dirs(). But the problems can be solved in a better way:

When deleting, check if the selection is the current tree then change dir
to gitroot_dir() if so. When creating, add gitroot_dir() as prefix.
@polarmutex polarmutex changed the base branch from main to devel July 15, 2025 04:29
@polarmutex polarmutex merged commit c58e31e into polarmutex:devel Jul 15, 2025
6 checks passed
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.

2 participants