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>2013-06-23 13:21:22 +0400
committernulltoken <emeric.fermas@gmail.com>2013-06-26 01:06:19 +0400
commit09a26cfe1f8d4e91ab2815fdb6238afd7e400a2e (patch)
tree7f41303f6f6e5a7573a78f0ee580a845e77b6a4a /LibGit2Sharp.Tests/TestHelpers/BaseFixture.cs
parent3c7c424f42d72be3eef0b3932d5713e1b189922d (diff)
Obsolete repo.Init() overload which returns a Repository
Diffstat (limited to 'LibGit2Sharp.Tests/TestHelpers/BaseFixture.cs')
-rw-r--r--LibGit2Sharp.Tests/TestHelpers/BaseFixture.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/LibGit2Sharp.Tests/TestHelpers/BaseFixture.cs b/LibGit2Sharp.Tests/TestHelpers/BaseFixture.cs
index 5dcc93c4..b91c2316 100644
--- a/LibGit2Sharp.Tests/TestHelpers/BaseFixture.cs
+++ b/LibGit2Sharp.Tests/TestHelpers/BaseFixture.cs
@@ -142,10 +142,7 @@ namespace LibGit2Sharp.Tests.TestHelpers
{
SelfCleaningDirectory scd = BuildSelfCleaningDirectory();
- using (var repo = Repository.Init(scd.DirectoryPath, isBare, null))
- {
- return repo.Info.Path;
- }
+ return Repository.Init(scd.DirectoryPath, isBare);
}
public void Register(string directoryPath)