gemini-cli
gemini-cli copied to clipboard
ReadManyFiles can't read .gitignored files. even with respectGitIgnore: false
What happened?
I've set my settings.json with the following:
"respectGitIgnore": false
}
Since I have that, ReadFile works fine, but ReadManyFiles is still triggered with :
│ **Skipped 1 item(s):** │
│ - `2 file(s)` (Reason: ignored)
What did you expect to happen?
That ReadManyFiles can read .gitignore files
Client information
╭────────────────────────────────────────────────────────────╮
│ │
│ About Gemini CLI │
│ │
│ CLI Version 0.1.12 │
│ Git Commit b29c02dd (local modifications) │
│ Model gemini-2.5-flash │
│ Sandbox no sandbox │
│ OS linux │
│ Auth Method gemini-api-key │
│ │
╰────────────────────────────────────────────────────────────╯
Login information
Google Account, API key
Anything else we need to know?
No response
Found possible duplicate issues:
- #3486: (0.914182359825515)
- #3151: (0.9131267291122734)
- #3072: (0.9049709922040692)
- #3382: (0.9038270654575283)
- #2843: (0.9025221408916811)
Can anybody reproduce this issue or was it fixed by #3727
It seems fine to me:
I wonder if there are a few issues throughout #5485 that were resolved by #3727
Resolved by https://github.com/google-gemini/gemini-cli/pull/3727