sublime_merge
sublime_merge copied to clipboard
Ignored files in global gitignore appear as untracked files
Version info
- OS: macOS 12.5.1
- Build: 2076
Description
Sublime merge shows untracked files that match ignored files in my global config.
Steps to reproduce
I have a global gitignore file at ~/.gitignore
> cat ~/.gitignore
.DS_Store
> git config --show-origin --get core.excludesfile
file:/Users/chris/.gitconfig ~/.gitignore
-
Sublime Merge shows two
.DS_Storefiles as Untracked Files. Runninggit statusdoes not show those files. -
Editing the
~/.gitignorefile to include only.DS_Stor(by deleting the "e") brings both files into thegit statusreport. -
Adding it again clears them from
git status, but not Sublime Merge.
My ~/.gitignore file is linked to another folder, but I also changed my git configuration to a run-of-the-mill file with the same results.
Expected behavior
Ignored files in ~/.gitignore should not be displayed in SM