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

Claude Code v2.1.307 ·

Content read through git is checked before being returned as text

When Claude Code reads output from git, it now checks the raw bytes and returns nothing if they fail, instead of the output as it came

Under the hood Internal Changes
JSON All of v2.1.307
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
GitArea: what it touches
Internal ChangesKind: in v2.1.307,
Internal ChangesSection of the release

Unclear What the check looks for, and so which files now come back empty, is not known.

What

When Claude Code reads file content through git, it now takes the output as raw bytes, checks them, and returns the content as UTF-8 text only if the check passes. Otherwise it returns nothing. Before, it returned the output as it came whenever git finished without an error.

Why

This avoids garbling file content that is not stored as UTF-8 text.

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 doubtWhat the check looks for, and so which files now come back empty, is not known.

See this entry in the whole of v2.1.307 →

Feedback