What
Ripgrep is the search tool Claude Code uses to look through files. An ignore file, such as .gitignore, lists files a search should skip. When ripgrep fails, its error output can quote lines from such a file. Claude Code no longer passes that output on in its logs or in the error it reports. Instead:
- logs say "message withheld: it may quote an ignore file"
- the reported error says ripgrep's explanation is withheld because it may quote a file, and suggests checking the pattern, glob (a file name pattern such as
*.js) and file type for a syntax error - in some cases the error reads "ripgrep unexpected exit; its output is withheld"
Why
This keeps file contents out of logs and out of errors the model sees. When a search fails, you get less detail and may need to check the search pattern yourself.