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.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.277 ·

Git diff-stats helpers gained explicit cwd/git-dir plumbing for worktrees

Git diff-stat helpers now take an explicit working directory instead of assuming the current one

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

A group of internal functions that compute git diff statistics now accept an explicit working directory (cwd) parameter, instead of relying on the ambient current directory or environment. This includes a new check for whether a merge is in progress, which now also takes a working directory.

Why

This makes these git-stats functions work correctly when operating on a git worktree other than the main one, rather than assuming the process's own current directory.

See this entry in the whole of v2.1.277 →

Feedback