FredrikNoren / ungit

The easiest way to use git. On any platform. Anywhere.
MIT License
10.41k stars 637 forks source link

Event: git-directory-changed spammed into the console every second with git config core.fsmonitor set to true #1547

Open capaj opened 1 year ago

capaj commented 1 year ago

I am on ubuntu 22.04 and I wanted to get better perf on bigger repos with git config core.fsmonitor se to true.

When I do that, ungit receives Event: git-directory-changed in the browser every second and that causes a lot of CPU usage each time. I will disable core.fsmonitor for now, but it would be awesome if ungit was compatible with this new git config introduced in git 2.37.