{"version":"2.1.283","anchor":"case-folding-and-inode-aware-path-comparison-for-worktree-ch","canonical_anchor":"case-folding-and-inode-aware-path-comparison-for-worktree-ch","heading":"Worktree path checks now handle case differences and equivalent paths","tier":"notice","area":"Worktrees","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.283\/e\/case-folding-and-inode-aware-path-comparison-for-worktree-ch","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.283","markdown":"### Worktree path checks now handle case differences and equivalent paths\n\nWorktree checks now ignore letter case on Windows and macOS and confirm a match by checking it is the same file on disk\n\n**What**\n\nA worktree is an extra working copy of a git repository in its own folder. Several checks compare folder paths: entering a worktree, the managed `.claude\/worktrees` folder, and the link from a worktree back to its repository. These checks used to compare paths as plain text. They now ignore upper and lower case on Windows and macOS, or on any platform where a check asks for it. They then confirm a match by checking that both paths point to the same item on disk. Looking up a worktree's lock also falls back to a case-insensitive match.\n\n**Why**\n\nOn filesystems that ignore case, a path that differs only in capitalization should no longer fail checks such as \"not inside the repository\" or \"not a linked worktree\".\n\n- Area: Worktrees\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5"}