Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.333 ·

Git commands can be told to refuse bare repositories unless named explicitly

Claude Code can now pass git a setting that only allows bare repositories when they are named explicitly, behind server-side flags

You'll notice No documentation found Improvements
JSON All of v2.1.333
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
GitArea: what it touches
ImprovementsKind: in v2.1.333,
ImprovementsSection of the release

Unclear It is not clear when this protection is in effect, since it sits behind server-side flags.

What

A bare repository is a git repository with no normal project files, only git's own data. Claude Code can now pass git the setting safe.bareRepository=explicit through environment variables when it runs git. One path that does this is controlled by a server-side flag, a switch Anthropic controls remotely. A second server-side flag chooses between two versions of related code.

Why

This hardens the git commands Claude Code runs against a booby-trapped bare repository placed inside a project.

Read from
Names in the bundlesafe.bareRepository=explicit
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear when this protection is in effect, since it sits behind server-side flags.

See this entry in the whole of v2.1.333 →

Feedback