Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.323 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.274 ·

Diff/gitdir baseline computation made lazy and cached

Repository-diff computation now happens lazily and is cached instead of running eagerly upfront

Under the hood Internal Changes
JSON All of v2.1.274
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
GitArea: what it touches
Internal ChangesKind: in v2.1.274,
Internal ChangesSection of the release
What

The internal helper that computes repository diffs no longer eagerly computes the git baseline it needs as soon as it runs. Instead, it computes and caches that baseline only when fetchDiff is actually called. A related function, headKeyOf, now explicitly passes a null baseline rather than a computed one.

Why

This avoids doing potentially unnecessary work computing a git baseline when it isn't needed, improving efficiency for code paths that don't end up calling fetchDiff.

See this entry in the whole of v2.1.274 →

Feedback