`status.showUntrackedFiles no` isn't taken into account
Zwyx opened this issue · comments
Zwyx commented
Version info
- OS: Ubuntu 22.04
- Build: 2074
Description
The configuration git config --local status.showUntrackedFiles no
makes git status
not show untracked files. But Sublime Merge ignores this and still shows untracked files.
Steps to reproduce
- Open any repository which contains untracked files
- Run
git config --local status.showUntrackedFiles no
(the configuration can be checked in the file.git/config
) - Run
git status
, the untracked files shouldn't be shown anymore. - See that Sublime Marge still shows them.
Adithya Balaji commented
I ran through these steps and could reproduce this issue
Anshuman Medhi commented
This or the unofficial option gui.displayuntracked
from git-cola is very important for dotfiles repositories (any other repo with a large amount of untracked files)
Current smerge tries to list all of those untracked files and register inotify watchers for them (quickly running into the limit), making everything extremely slow