Claude Code 2.1.270
Fixed 1
Read-only Git commands no longer mistakenly prompt for permission during long-running sessions
When you keep a session open for a long time to work on a project and simply want to inspect file history, having your workflow randomly interrupted is frustrating. ⟦It is like browsing store shelves to check the ingredient labels on the back of products—without opening any packaging or taking items away, yet after you have shopped for a while, a clerk suddenly walks up and demands your ID and signature every single time you pick up a bottle.⟧ In the previous 2.1.269 release, the tool suffered from this frustrating regression. Back then, after operating for a while in Bash, read-only Git commands that modify no files at all would unexpectedly trigger confirmation prompts and repeatedly demand permission. Especially for a tool like Git used to track file modification history, commands that inspect status or view history purely read data and should never demand permissions so frequently. This issue has now been resolved; going forward, even when a session runs continuously, various read-only commands complete smoothly without unnecessary permission prompts interrupting your flow.
Original changelog
Fixed read-only git commands in Bash unexpectedly asking for permission after a session had been running for a while (regression in 2.1.269)