diff options
-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 c82a36cb7b..86a4f93b9f 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 @@ -1779,7 +1779,7 @@ namespace MonoDevelop.VersionControl.Git public string GetCurrentBranch () { - return RunOperation (() => RootRepository.Head.FriendlyName); + return RunSafeOperation (() => RootRepository.Head.FriendlyName); } void SwitchBranchInternal (ProgressMonitor monitor, string branch) |