Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.271 ·

Git version probe is now cached and time-bounded

Git version checks are now cached per binary and time out after 10 seconds

TierUnder the hoodhow much it should matter to you
Useful1my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaGitwhat it touches
KindInternal Changesin v2.1.271,
Under the hood

Git version checks are now cached per binary and time out after 10 seconds

What

Claude Code checks the installed version of git to decide whether certain git flags are safe to use. That check now remembers its result per git binary instead of re-running git --version every time, and the check itself is now capped at 10 seconds so it can't hang indefinitely.

Why

Caching avoids repeatedly spawning git --version, and the timeout prevents a stuck or slow git invocation from blocking Claude Code.

See this entry in the whole of v2.1.271 →