anthropics / anthropics/claude-code
[Bug] Diff view not displaying when agent operates in Git worktree
Open
area:tui
bug
platform:linux
- Dominant language
- Python
- Stars
- 145k
- Forks
- 23.1k
- PR merge metrics
- PR metrics pending
Description
**Bug Description**
diff right pane does not show when agent works in a worktree
**Environment Info**
- Platform: linux
- Terminal: foot
- Version: 2.1.273
- Feedback ID: 7767a24a-0085-4e90-9baa-81183f875204
**Errors**
```json
[]
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue by running Claude Code with an agent operating in a Git worktree on Linux using the foot terminal. Start by tracing the diff view and worktree handling, then compare behavior with a normal repository. Done means the diff right pane displays changes from the worktree without errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, linux
- Domain
- cli, developer-experience
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100