Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.247 Home All releases olderv2.1.246 v2.1.248newer
Claude Code v2.1.247

Non-UTF-8 and quoted file paths no longer corrupt tree listings

You'll notice
Useful3 Signal2
Git Integration

Files with unusual or non-UTF-8 names no longer corrupt git tree listings.

What

Listing a git tree now runs with core.quotePath=true and decodes the quoting byte-exactly, including octal and C escapes, so files whose names are not valid UTF-8 come through intact instead of corrupting the recomputed tree.

Details
  • Replaces splitting the raw output on NUL bytes.
  • The staged-blob check now reports "old_git" when it sees a non-regular file mode on git older than 2.32, instead of failing silently. The version test is major > 2, or major 2 with minor 32 or above.
Evidence

core.quotePath=true

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

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.1.247 →