{"version":"2.1.324","anchor":"glob-ignore-handling-takes-lexical-path-too","canonical_anchor":"glob-ignore-handling-takes-lexical-path-too","heading":"Glob checks ignore rules against the path as written as well","tier":"notice","area":"Elsewhere","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.324\/e\/glob-ignore-handling-takes-lexical-path-too","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.324","markdown":"### Glob checks ignore rules against the path as written as well\n\nWhen deciding which files to skip, the Glob tool now also looks at the path as it was written, alongside the path it already used\n\n**Unclear.** It is not clear whether this changes which files Glob skips for paths that go through a symlink.\n\n**What**\n\nThe Glob tool (the tool Claude uses to find files by name pattern) decides which files to skip using ignore rules such as those in `.gitignore`. That check now receives two paths instead of one: the path it already used, and the path as it was originally written. `CLAUDE_CODE_GLOB_NO_IGNORE` and `CLAUDE_CODE_GLOB_HIDDEN` work the same as before.\n\n**Why**\n\nThis may change which files are skipped when a search runs through a symlink, which is a shortcut that points to a file or folder stored somewhere else.\n\n- Area: Elsewhere\n- Names: `CLAUDE_CODE_GLOB_NO_IGNORE`, `CLAUDE_CODE_GLOB_HIDDEN`\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}