sublimehq / sublime_merge

Issue tracker for Sublime Merge

Home Page:https://www.sublimemerge.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`status.showUntrackedFiles no` isn't taken into account

Zwyx opened this issue · comments

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

  1. Open any repository which contains untracked files
  2. Run git config --local status.showUntrackedFiles no (the configuration can be checked in the file .git/config)
  3. Run git status, the untracked files shouldn't be shown anymore.
  4. See that Sublime Marge still shows them.

I ran through these steps and could reproduce this issue

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