Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.221 ·

Sandboxed shells inherit git safe.directory settings

Git commands inside a sandbox no longer complain about dubious ownership of your repo.

You'll notice Improvements
JSON All of v2.1.221
You'll noticeTier: how much it should matter to you
4Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
SandboxArea: what it touches
ImprovementsKind: in v2.1.221,
What probably matters to youSection of the release
What

Git commands run inside a sandbox no longer complain about dubious ownership.

Details
  • The bubblewrap launcher and the other sandbox command builder compute git config env pairs from the sandbox's safe dirs and inject them as --setenv or KEY=VALUE entries.
  • The Windows path adds gitSafeDirectories to the safe-dir list.
Evidence

gitSafeDirectories

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.221 →

Feedback