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.