Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.277 ·

Git helper functions refactored to accept an explicit working directory

Git diff/status helper functions can now target an explicit working directory instead of always using the process's own

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

Git diff/status helper functions can now target an explicit working directory instead of always using the process's own

What

A group of internal git helper functions that compute diffs and status were changed to accept an explicit working directory parameter, rather than always operating on the directory the Claude Code process itself is running in. A new helper picks between the normal environment and an isolated environment (with extendEnv turned off) depending on whether a working directory was passed in.

Why

This allows git operations to be run correctly against a different folder than the current process directory, which matters for features that need to inspect git state in another location, such as a separate worktree or machine.

How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeImproved the startup notice overflow line under the logo: it now reads "N more notices hidden" instead of "+N more · /status"

See this entry in the whole of v2.1.277 →

Feedback