{"version":"2.1.336","anchor":"glob-tool-adds-extra-ripgrep-globs-behind-tengu-binary-mango","canonical_anchor":"glob-tool-adds-extra-ripgrep-globs-behind-tengu-binary-mango","heading":"Glob can add extra search patterns and limit how deep it looks into folders","tier":"soon","area":"Glob","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336\/e\/glob-tool-adds-extra-ripgrep-globs-behind-tengu-binary-mango","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336","markdown":"### Glob can add extra search patterns and limit how deep it looks into folders\n\nThe Glob tool can now add extra search patterns when it includes ignored and hidden files, and accepts a limit on how many folder levels deep to search\n\n**Unclear.** What the extra patterns contain, and so which files Glob now finds or skips differently, is not known; nor is it known when the depth limit is actually used.\n\n**What**\n\nThe Glob tool is the tool Claude uses to find files by name pattern. It runs ripgrep, a fast file search program, behind the scenes. Two things are different:\n\n- Extra patterns: Glob now adds more patterns to its search when all of these hold: it is including ignored files, it is including hidden files, ripgrep is being run without its own configuration file, and a remote switch has not turned this off.\n\n- Depth limit: Glob can now be given a maximum folder depth, which stops the search going more than that many folder levels down.\n\nIncluding ignored files and hidden files is the default. You turn them off with `CLAUDE_CODE_GLOB_NO_IGNORE` set to `false` and `CLAUDE_CODE_GLOB_HIDDEN` set to `false`. These two settings are now read in one place rather than separately.\n\n**Why**\n\nOn the default settings, the files Glob matches may differ from before, because the extra patterns apply exactly when ignored and hidden files are both included.\n\n- Flag `tengu_binary_mango`: Not enough to say (read for one account on one subscription tier against v2.1.336; this account: no value returned, anonymous baseline: no value returned, compiled default: on) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Area: Glob\n- Tier: Nothing to try yet\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no\n- Present in the build but not switched on"}