[Bug] respectGitignore: false does not allow @mentioning gitignored files
Resolved 💬 3 comments Opened Mar 24, 2026 by agourdin Closed Mar 28, 2026
Bug Description
The respectGitignore: false doesn't seem to fully allow me to @ mention files that are .gitIgnored, which can be very annoying for planning markdowns and stuff that i have purposefully gitignored but want to be able to reference in a Claude Code session
Environment Info
- Platform: darwin
- Terminal: ghostty
- Version: 2.1.81
- Feedback ID: 598f0f57-e5d4-4456-b067-237d6a6ebc24
Errors
[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/aaron/.local/share/claude/versions/2.1.81 (expected in multi-process scenarios)\n at TET (/$bunfs/root/src/entrypoints/cli.js:2724:2174)\n at fgq (/$bunfs/root/src/entrypoints/cli.js:2724:1318)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-24T20:21:30.525Z"},{"error":"MaxFileReadTokenExceededError: File content (10493 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at gT9 (/$bunfs/root/src/entrypoints/cli.js:4312:23670)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-24T20:21:45.178Z"},{"error":"Error: ripgrep exited with code null\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:524:11138)\n at emit (node:events:98:22)\n at #maybeClose (node:child_process:766:16)\n at #handleOnExit (node:child_process:520:72)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-24T22:00:50.552Z"},{"error":"RipgrepTimeoutError: Ripgrep search timed out after 20 seconds. The search may have matched files but did not complete in time. Try searching a more specific path or pattern.\n at $ (/$bunfs/root/src/entrypoints/cli.js:526:242)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:526:456)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:524:11209)\n at emit (node:events:98:22)\n at #maybeClose (node:child_process:766:16)\n at #handleOnExit (node:child_process:520:72)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-24T22:00:50.553Z"},{"error":"Error: ripgrep exited with code null\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:524:11138)\n at emit (node:events:98:22)\n at #maybeClose (node:child_process:766:16)\n at #handleOnExit (node:child_process:520:72)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-24T22:01:19.093Z"},{"error":"RipgrepTimeoutError: Ripgrep search timed out after 20 seconds. The search may have matched files but did not complete in time. Try searching a more specific path or pattern.\n at $ (/$bunfs/root/src/entrypoints/cli.js:526:242)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:526:456)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:524:11209)\n at emit (node:events:98:22)\n at #maybeClose (node:child_process:766:16)\n at #handleOnExit (node:child_process:520:72)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-24T22:01:19.093Z"},{"error":"Error: ripgrep exited with code null\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:524:11138)\n at emit (node:events:98:22)\n at #maybeClose (node:child_process:766:16)\n at #handleOnExit (node:child_process:520:72)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-24T22:01:19.227Z"},{"error":"RipgrepTimeoutError: Ripgrep search timed out after 20 seconds. The search may have matched files but did not complete in time. Try searching a more specific path or pattern.\n at $ (/$bunfs/root/src/entrypoints/cli.js:526:242)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:526:456)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:524:11209)\n at emit (node:events:98:22)\n at #maybeClose (node:child_process:766:16)\n at #handleOnExit (node:child_process:520:72)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-24T22:01:19.227Z"},{"error":"MaxFileReadTokenExceededError: File content (15111 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at gT9 (/$bunfs/root/src/entrypoints/cli.js:4312:23670)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-24T22:01:25.154Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗