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_ALLset toC, which makes git print plain, language-neutral output, and uses a single--listcall instead of a separate--name-only --listcall. - 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 usescheck-attr filterto 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.pathor 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.
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agree
Fixed the first prompt, subagents and -p waiting up to 10 minutes when git status is very slow or stalls; Claude now continues after 30…