Noticed this on different Windows 10 machines, with different OS build versions. Stashing and popping the stash each takes about 6-7 seconds. Tried regular git commands in the terminal - they finish almost instantaneously.
Sublime Merge actually handles stashes through regular git commands, so those shouldn’t take any longer. Could you confirm whether or not it is spending time loading the changes from disk or whether git stash is actually taking that long to complete? ie. can you see the files from the popped stash instantly?
Right, that’s why I was surprised that it takes so long, given that it’s just running regular Git commands.
I am not sure what it’s doing exactly the whole time, but the files are not affected until Sublime Merge is done.
This is one of those shot-in-the-dark kind of things, but which git client is Merge using; do you have it set to use the one that it ships with, or have you customized it to point at the system version/an external one?
It shouldn’t make any difference since I imagine they should be the same (barring version differences, etc), but I’ve noticed in the past that the git for windows installation I have on one of my machines seems to take an abnormally long amount of time to perform what should be near instantaneous local operations (though not always because that would make figuring it out a bit easier).
I’ve never seen anything local take a long time while using the version that Merge bundles, though.
I checked - the Git binary is ‘bundled’ in this case.