Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2sharp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2013-01-16 19:30:26 +0400
committerBen Straub <bs@github.com>2013-01-16 19:31:03 +0400
commit29b23fd6fd0bba491e76fbc29b50225eace667c7 (patch)
tree4a44d6d62755a58468b0f74953b2e27a40f9c99c
parent20a6b51fca0083a66b6f892d038f1d8b2d593ce9 (diff)
Remove ThreadAffinity from git_remote_set_autotag
-rw-r--r--LibGit2Sharp/Core/Proxy.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/LibGit2Sharp/Core/Proxy.cs b/LibGit2Sharp/Core/Proxy.cs
index 7115fdde..fd0ee3f4 100644
--- a/LibGit2Sharp/Core/Proxy.cs
+++ b/LibGit2Sharp/Core/Proxy.cs
@@ -1229,10 +1229,7 @@ namespace LibGit2Sharp.Core
public static void git_remote_set_autotag(RemoteSafeHandle remote, TagFetchMode value)
{
- using (ThreadAffinity())
- {
- NativeMethods.git_remote_set_autotag(remote, value);
- }
+ NativeMethods.git_remote_set_autotag(remote, value);
}
public static void git_remote_set_fetchspec(RemoteSafeHandle remote, string fetchspec)