GitSavvy icon indicating copy to clipboard operation
GitSavvy copied to clipboard

ST freezes after opening a gitsavvy tab window on Mac

Open moracca opened this issue 1 month ago • 1 comments

Hello, I am experiencing a hang when I open any gitsavvy pane, such as when I open the status dashboard, or when viewing a diff of a file (e.g. I am looking at the status dashboard and press 'e' on a file) or when I open a commit screen etc. I see the rendered tab with the correct diff syntax highlighting and everything, but then I get a spinning circle cursor for some amount of time (maybe 10-15 aeconds) then it returns to normal and I can interact with the view using the normal keyboard shortcuts etc.

Is there anything I can check to determine what could be causing the hang? I do have a lot of open files, could that be the issue?

Thank you in advance!

moracca avatar Nov 14 '25 03:11 moracca

One would think that after the rendering, everything GitSavvy would be done. "lot of open files" -- You mean huge amount of open tabs ... Generally it is not faster than git on the command line of course; so if the project grows so much that git itself gets slow, you need to make sure to squeeze everything out of git first. (fscache, filewatcher, partial checkouts)

There is some logging available. Let me look it up ... In the Command Palette, use "GitSavvy: enable logging". Then open Sublime's console "View -> Show Console". You should see all the commands GitSavvy runs with their timing and a char denoting the thread they are running on.

Freezing Sublime usually means to freeze the Main/UI thread.

kaste avatar Nov 14 '25 09:11 kaste