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

Claude Code v2.1.248 ·

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

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

You'll notice Improvements
JSON All of v2.1.248
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
Git IntegrationArea: what it touches
ImprovementsKind: in v2.1.248,
ImprovementsSection of the release
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.

See this entry in the whole of v2.1.248 →

Feedback