You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
GitArea: what it touches
Internal ChangesKind: in v2.1.333,
Bug FixesSection of the release
Unclear It is not clear whether stopping the scan early leaves those git config files readable or unreadable inside the sandbox.
What
Git lets one configuration file pull in others through include paths. Claude Code reads git configuration in a few places, and those reads changed:
The include-path lookup now runs with LC_ALL set to C, which makes git print plain, language-neutral output, and uses a single --list call instead of a separate --name-only --list call.
The include-path scan now stops early if the counts of include paths do not match or if any include is marked :(optional).
The git snapshot Claude Code takes at startup now reads the configuration with git config -z --name-only --list. It uses check-attr filter to ignore files whose only change is a modification and which have a filter attribute, such as a smudge filter that rewrites file contents on checkout.
That snapshot refuses to run if the configuration contains include.path or if the git arguments are too long.
Git commands run by Claude Code can now be given input.
Why
Files that only look changed because of a git filter no longer count as uncommitted changes at startup. Reading git configuration no longer depends on your language settings, and configurations with optional or mismatched includes change which git config files are treated as readable in the sandbox, the restricted area Claude Code runs commands in.
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 doubtIt is not clear whether stopping the scan early leaves those git config files readable or unreadable inside the sandbox.