Untracked files removed from sidebar (ST 3114)
See original GitHub issueSince I updated to Sublime Text Build 3114 (changelog) I’ve noticed an issue where untracked files (those in .gitignore
) are not remaining in the sidebar after a file is opened.
Once I initially open the project’s containing folder, everything is fine. As soon as I click on a file/folder in the sidebar, the sidebar updates and all untracked files/folders are removed.
I see the following in the console:
Git: updating project exclusions ...
The command lists all files/folders contained in my global and local .gitignore
files
Is there any way to block this behavior? I didn’t see anything in Git.sublime-settings
.
The only way I was able to fix the behavior (“fix” meaning “set it back to the way it was last week”) was to remove your plugin.
Thanks. Let me know if you need additional information.
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (4 by maintainers)
Top GitHub Comments
I should really check whether project files will respect the binary_file_patterns preference, and set that as an option. It’d keep them in the sidebar, but exclude them from search. (Good ol’
node_modules
, bane of search / the file picker.)It can be disabled by setting
gitignore_sync
tofalse
in the package settings.