New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve support for stalled-Git messaging #421
Comments
I figured out what the problem was: There was a git process running from when I attempted to "push" to the remote but that never finished or did anything (not even show an error or something). When I killed the process, all the commands that I seemingly "queued" during this were suddenly run. What's even weirder is that this even prevented InactivePanes from having its EventListener hooks run (notably This definitely needs some attention. |
I've been mulling over this for awhile, but you're the first to bring this up with a real-world issue. At the moment, GitSavvy simply uses the non-UI thread (exposed via Now that you've brought it up, here's what I've been considering:
Thoughts? |
I think the 2. Approach wont work good if you started the fetch or pull from outside GitSavvy? I think to expose |
@divmain, yes, the In that case, yes, you should definitely be launching your own threads. The other suggestions sound very good too. |
We wait max 120 seconds (which is a random number of course) or kill. Interesting part is that we need to wait to inf iff the git call opens for example Sublime Text itself for editing a message, or a call to For typical git calls 120 seconds is way above what to expect. Usually we "stall" only when we go over the internet and the OS thinks we're connected but we actually only get 1 byte per minute ("lie-fi") anyway. |
I'm trying out this package and have problems with the status view.
What I can do:
,
and.
What I can't do (read: nothing happens):
I checked with
sublime.log_commands(True)
that commands are correctly being executed. There are no errors in the console.I'm running on Win7 and ST 3113.
The text was updated successfully, but these errors were encountered: