sourcegit icon indicating copy to clipboard operation
sourcegit copied to clipboard

Bug / Feature Request: Cancel operation

Open Reyhn3 opened this issue 6 months ago • 3 comments

Sometimes the network requests (e.g. when fetching, pulling etc. from GitHub / Azure DevOps) timeout. The timeout is very long, though, and it blocks the whole workspace (i.e. I can switch tab/repo, but not workspace). It prevents me from continuing my work.

I propose adding a cancellation feature so that I can press cancel on the fetch/pull/push dialogs.

Fetch dialog that blocks my work because it is missing a cancel-feature: Image

Example error after a long timeout: Image

Reyhn3 avatar Jul 18 '25 08:07 Reyhn3

Across platforms (especially on Linux), dotnet has quite a few difficulties shutting down child processes.

For ssh, you may need some config like this to reduce timeout:

~/.ssh$ cat config 

Host *
    ConnectTimeout 5

http need this:

$ git config list

http.timeout=5
http.lowspeedlimit=0
http.lowspeedtime=5

gadfly3173 avatar Jul 18 '25 08:07 gadfly3173

I agree, I need a feature to cancel git operation, especially in cases where I accidentally push to the wrong remote origin.

idepin avatar Jul 23 '25 09:07 idepin

@gadfly3173 Thanks for the tip! It seems to alleviate the symptoms for me. Although I'd still like a proper cancel feature.

Reyhn3 avatar Jul 23 '25 18:07 Reyhn3