Skip to content

fix(soe): make Claude Code's Glob honour .gitignore - #131

Merged
catinspace-au merged 1 commit into
mainfrom
fix/managed-glob-honours-gitignore
Nov 10, 2026
Merged

catinspace-au merged 1 commit into
mainfrom
fix/managed-glob-honours-gitignore

Conversation

@catinspace-au

Copy link
Copy Markdown
Contributor

Claude Code's Glob tool passes --no-ignore to ripgrep unless CLAUDE_CODE_GLOB_NO_IGNORE is "false". Every Glob then walks target/, .venv, node_modules and every worktree. With several sessions on one host this stalled a 12-core machine.

The managed settings now set it to "false". They outrank user settings, so a tool that rewrites ~/.claude/settings.json can't undo it. A Glob rooted inside an ignored directory still finds its files.

Closes #130

Claude Code's Glob tool passes --no-ignore to ripgrep unless CLAUDE_CODE_GLOB_NO_IGNORE is "false". Every Glob then walks target/, .venv, node_modules and every worktree. With several sessions on one host this stalled a 12-core machine.

The managed settings now set it to "false". They outrank user settings, so a tool that rewrites ~/.claude/settings.json can't undo it. A Glob rooted inside an ignored directory still finds its files.

Closes #130
@catinspace-au
catinspace-au merged commit b1f575b into main Nov 10, 2026
18 checks passed
@catinspace-au
catinspace-au deleted the fix/managed-glob-honours-gitignore branch November 10, 2026 02:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(soe): make Claude Code's Glob honour .gitignore in managed settings

1 participant