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:
authornulltoken <emeric.fermas@gmail.com>2011-09-26 16:57:19 +0400
committernulltoken <emeric.fermas@gmail.com>2011-09-26 21:48:34 +0400
commit37997dceb32d3dcf9f3650af5b3daaf8ddde9ffd (patch)
tree1eb21cad4d09e6026cc07e33551d31c81d77b6aa /LibGit2Sharp/BranchCollection.cs
parent9f18382843507e15ed3bf52189bd78238cc1756c (diff)
Move removal of temporary test repositories after the processing of each fixture
This has the nice side effect of reducing race concurrencies issues with the file system.
Diffstat (limited to 'LibGit2Sharp/BranchCollection.cs')
-rw-r--r--LibGit2Sharp/BranchCollection.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/LibGit2Sharp/BranchCollection.cs b/LibGit2Sharp/BranchCollection.cs
index e387f7e2..54e1cd58 100644
--- a/LibGit2Sharp/BranchCollection.cs
+++ b/LibGit2Sharp/BranchCollection.cs
@@ -100,7 +100,7 @@ namespace LibGit2Sharp
{
Ensure.ArgumentNotNullOrEmptyString(name, "name");
- var canonicalName = NormalizeToCanonicalName(name);
+ string canonicalName = NormalizeToCanonicalName(name);
if (canonicalName == repo.Head.CanonicalName)
{