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
Bug FixesKind: in v2.1.334,
Bug FixesSection of the release
What
Claude Code asks git which files are ignored, meaning listed in a .gitignore file so that git leaves them out. It now runs git check-ignore -z --stdin. This passes the paths to git as input, separated by an invisible null character, and Claude Code reads the answer back the same way without trimming it. Before, the answer was split on line breaks and trimmed.
These cases are now handled correctly:
paths that contain line breaks
paths that contain spaces
very long lists of paths
Why
It fixes cases where the names of ignored files were read wrongly.