After a user creates successfully creates a new git worktree we reset the agent thread picker state to avoid accidentally creating a new worktree for a thread. This also fixes some bugs where a past agent thread picker state was invalid because it became out of sync after a new worktree was created, or when a mutating git operation occurred. Self-Review Checklist: - [x] I've reviewed my own diff for quality, security, and reliability - [x] Unsafe blocks (if any) have justifying comments - [x] The content is consistent with the [UI/UX checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist) - [x] Tests cover the new/changed behavior - [x] Performance impact has been considered and is acceptable Release Notes: - N/A or Added/Fixed/Improved ...
1 file changedLine totals unavailable