Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.299 ·

Claude Code notes when a git-related variable is dropped from a settings file

When applying environment variables from settings files, Claude Code now records when a git-related key was dropped and reads each layer's own block

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

Unclear Which git-related key gets dropped, and whether it is one a reader might set on purpose, is not stated.

What

Settings files can contain an env block, which is a list of environment variables (named values passed to programs) that Claude Code applies when it starts. Settings come in layers, such as your personal settings and a project's settings, and Claude Code filters each layer's env block before using it.

Two things changed in that step:

  • Claude Code now records when a git-related key was dropped from one of the layers during filtering.
  • Each layer is now filtered using its own env block, where before the step read a different one.
Why

This may change which environment variables from your settings files actually take effect, especially ones related to git.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhich git-related key gets dropped, and whether it is one a reader might set on purpose, is not stated.

See this entry in the whole of v2.1.299 →

Feedback