Issue
When accessing a git repo that has been working fine in the past, aider regularly gives a red warning of "Unable to read staged files". This is especially problematic when adding files (or read only files) to the chat and it pops up a new one with every character, also preventing you from backspacing if you made a mistake

Version and model info
Unable to read staged files:
Unable to read staged files:
Unable to read staged files:
Aider v0.82.2
Main model: anthropic/claude-3-7-sonnet-20250219 with diff edit format, infinite output
Weak model: anthropic/claude-3-5-haiku-20241022
Git repo: .git with 228 files
Repo-map: using 4096 tokens, auto refresh
Added ../.aider.guidelines to the chat (read-only).
Unable to read staged files:
─────────────────────────────────────────────
Issue
When accessing a git repo that has been working fine in the past, aider regularly gives a red warning of "Unable to read staged files". This is especially problematic when adding files (or read only files) to the chat and it pops up a new one with every character, also preventing you from backspacing if you made a mistake
Version and model info
Unable to read staged files:
Unable to read staged files:
Unable to read staged files:
Aider v0.82.2
Main model: anthropic/claude-3-7-sonnet-20250219 with diff edit format, infinite output
Weak model: anthropic/claude-3-5-haiku-20241022
Git repo: .git with 228 files
Repo-map: using 4096 tokens, auto refresh
Added ../.aider.guidelines to the chat (read-only).
Unable to read staged files:
─────────────────────────────────────────────