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.248 Home All releases olderv2.1.247 v2.1.250newer
Claude Code v2.1.248

Git lookups are cached, and "no git" is told apart from "git somewhere we won't look"

You'll notice
Useful2 Signal2
Git Integration

Git lookups are cached, and errors now say whether git is missing or just somewhere unsearchable.

What

Repeated git invocations now share one cached probe rather than redoing the same two expensive lookups each time: locating the git executable on PATH, and computing a PATH with directories a cloud session can reach stripped out. When git is not found, the error now distinguishes git being absent entirely from git existing only in a directory Claude Code refuses to search.

Details
  • The cached values are the resolved git executable and the reduced PATH.
  • The "only in a directory we refuse to search" case is flagged separately based on the stderr text differing from the plain not-found message.
Evidence

gitExeOnPath

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