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

Git metadata files are read with a size cap instead of being slurped whole

A giant git config file can no longer be slurped whole into memory; reads cap at a megabyte.

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

Reading a repository's config now reads at most 1,000,000 bytes and, when more remains, discards the trailing partial line before parsing, so a pathologically large config cannot pull an unbounded amount into memory.

Details
  • The .git file and commondir readers moved to the same capped reader, using sniffEncoding: !0, withBytes: !0.
  • Those two return null when the read was truncated, so a truncated prefix is treated as no answer rather than parsed as a path.
Evidence

sniffEncoding

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.247 →

Feedback