[Bug] Git repository state not refreshed when entering worktree in continued session
Status Closed — not planned
Reported on v2.1.118
Maintainer reply None cached
Activity 2 comments · opened Apr 23, 2026 · closed May 27, 2026
Bug Description
when git is created in session and you continue that session and go into a worktree is_git_repository is still set to false and does not refresh to true after git creating and hence the enterworktree tool fails and it forces the user to exit the session and resume for the tool to work
Environment Info
- Platform: darwin
- Terminal: ghostty
- Version: 2.1.118
- Feedback ID: 6f228296-f60b-4392-8152-7dc8ba656421
Errors
[]This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗