You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
ImprovementsKind: in v2.1.324,
ImprovementsSection of the release
What
Claude Code has a guard that checks git commands run in a shared checkout, a working copy other sessions also use. It now refuses one more pattern: a command line that assigns a variable and also sets that same variable in front of a command, on a line that reads an assigned value and names git. The refusal says the command assigns the variable and that it can't be verified.
Why
This closes a way around the guard, so it is harder to slip a git command past it.