Follow Discord
Sweep 02 Oct 2026 · 18:55Z Build v2.1.288 509 read Stable v2.1.285 Latest v2.1.287 Next v2.1.288 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.287 ·

Clearer error when git can't fetch missing files over a blocked connection type

When a partial clone's on-demand fetch fails because the connection type isn't allowed, the error now explains why and names the address

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

A partial clone is a git repository downloaded without all of its file contents. Git fetches the missing pieces on demand later, which is called a lazy fetch. Git also limits which connection types, such as HTTPS or SSH, it may use.

When a lazy fetch fails because the connection type is not allowed, Claude Code's error message now says these things:

  • Nothing was fetched.
  • A lazy fetch only runs over the allowed connection types.
  • The address git tried to fetch the missing pieces from.
  • A hint about insteadOf rules, which are git settings that rewrite one address into another.

Before, the message only added a hint about the http.extraHeader setting. Claude Code runs this git command with LC_ALL=C so it can recognise the error.

Why

If you work in a repository with an unusual git setup, the error now points at the real cause instead of an unrelated setting.

See this entry in the whole of v2.1.287 →

Feedback