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.334 ·

Claude Code reports a clear error when it cannot read a repository's .git folder

Claude Code now checks the .git folder can be read, stops with a clear error if not, and passes --git-dir .git to git

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

The .git folder is where git keeps a repository's history. Before running git commands, Claude Code now checks that this folder can be read. If it cannot, Claude Code stops with its own error message beginning "Git cannot read the .git in". Git commands are also now given --git-dir .git, which tells git exactly where that folder is.

Why

A damaged or unreadable copy of a repository now fails with a clear message, and there is a way to recover from it, instead of an unclear git failure.

See this entry in the whole of v2.1.334 →

Feedback