Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.324 ·

Shared-checkout git guard blocks another variable trick

The guard on git in shared checkouts now refuses a line that both assigns a variable and sets it in front of a git command

You'll notice Improvements
JSON All of v2.1.324
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.

See this entry in the whole of v2.1.324 →

Feedback