You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
WindowsArea: what it touches
Bug FixesKind: in v2.1.324,
Bug FixesSection of the release
What
Windows can give files and folders a shortened name, for example PROGRA~1 for Program Files. These short names contain a ~. On Windows and on WSL (the Windows Subsystem for Linux, which runs Linux inside Windows), Claude Code now expands paths that contain a ~ into their possible full forms. The check for whether a path is covered by a project's .gitignore file (the list of files git is told to ignore) now looks at every one of those forms. Before, only the path exactly as written was checked.
Why
A file could slip past this check by being named in its short form. Checking every form closes that gap.