-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Changes to files in ignored by .git/info/exclude show up in the "Modified Files" section, in the sidebar.
Looke like .gitignore is getting used—changes in node_modules are not reported while in .gitignore.
But not .git/info/exclude.
Both of these files are excluding files from git and are respected by tools like ripgrep, so I think that opencode should do the same.
cat .git/info/exclude
opencode.json
.grepai
.vscode/settings.json
.envOpenCode version
1.1.65
Steps to reproduce
echo "file_to_ignore" >> .git/info/exclude- Modify that file
- Prompt opencode with something to trigger file change check
Operating System
Ubuntu 24.04.4 LTS
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working