Skip to content

Refactor worktree management and enhance tests#10

Merged
dev-ankit merged 1 commit into
mainfrom
feature/switch-fixes
Jan 18, 2026
Merged

Refactor worktree management and enhance tests#10
dev-ankit merged 1 commit into
mainfrom
feature/switch-fixes

Conversation

@dev-ankit

Copy link
Copy Markdown
Owner
  • Updated add_worktree function to include a create_branch parameter for better branch handling.
  • Modified tests to validate worktree addition with both new and existing branches.
  • Improved CLI messages for switching worktrees to provide clearer instructions.
  • Ensured existing worktree checks are more robust in the WorktreeManager class.

These changes enhance the functionality and usability of the worktree management system.

- Updated `add_worktree` function to include a `create_branch` parameter for better branch handling.
- Modified tests to validate worktree addition with both new and existing branches.
- Improved CLI messages for switching worktrees to provide clearer instructions.
- Ensured existing worktree checks are more robust in the `WorktreeManager` class.

These changes enhance the functionality and usability of the worktree management system.
@dev-ankit dev-ankit merged commit 02d430c into main Jan 18, 2026
3 checks passed
@dev-ankit dev-ankit deleted the feature/switch-fixes branch January 18, 2026 14:48
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