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

Claude Code v2.1.248 ·

Spawned git and shell helpers get only an explicit environment

Spawned git and shell helpers no longer inherit your full environment, only what Claude Code builds.

You'll notice Internal Changes
JSON All of v2.1.248
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
PermissionsArea: what it touches
Internal ChangesKind: in v2.1.248,
Internal ChangesSection of the release
What

Three process-spawn sites no longer pass the parent's full environment to the child; each child now receives only the variables Claude Code builds for it.

Details
  • New fixed environment sets for git: one setting GIT_LITERAL_PATHSPECS to "1", a variant setting it to "0", and a config-isolation set including GIT_CONFIG_NOSYSTEM: "1".
  • These replace an older space-separated string listing the same variable names.
  • Unconditional at those call sites.
Evidence

extendEnv: !1

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.248 →

Feedback