diff options
author | Mike Krüger <mikkrg@microsoft.com> | 2019-09-18 16:32:38 +0300 |
---|---|---|
committer | Mike Krüger <mikkrg@microsoft.com> | 2019-09-18 16:32:38 +0300 |
commit | f708809e32c62fa275aa6bc775baa7e9675a9067 (patch) | |
tree | 2421199f853a1f73a9827a3f5308df3d4635780b /main/src/addins | |
parent | 610d6669a4abc91eb2d2eedc6d4b81353aa835d4 (diff) |
Fixes VSTS Bug 984467: SIGABRT when attempting to fetch a branch from
Azure DevOps Git
https://devdiv.visualstudio.com/DevDiv/_workitems/edit/984467
I couldn't reproduce the issue but running the fetch operation on an
exclusive threat should prevent other operations from interfering.
Diffstat (limited to 'main/src/addins')
-rw-r--r-- | main/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git/GitRepository.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git/GitRepository.cs b/main/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git/GitRepository.cs index 03f340c0c1..21bea9dd5f 100644 --- a/main/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git/GitRepository.cs +++ b/main/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git/GitRepository.cs @@ -1234,7 +1234,7 @@ namespace MonoDevelop.VersionControl.Git monitor.Log.WriteLine (GettextCatalog.GetString ("Fetching from '{0}'", remote)); int progress = 0; - var innerTask = await RunOperationAsync (() => { + var innerTask = await RunBlockingOperationAsync (() => { var refSpec = RootRepository.Network.Remotes [remote]?.FetchRefSpecs.Select (spec => spec.Specification); return RetryUntilSuccessAsync (monitor, credType => { LibGit2Sharp.Commands.Fetch (RootRepository, remote, refSpec, new FetchOptions { |