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:
Diffstat (limited to 'LibGit2Sharp/RepositoryInformation.cs')
-rw-r--r--LibGit2Sharp/RepositoryInformation.cs6
1 files changed, 0 insertions, 6 deletions
diff --git a/LibGit2Sharp/RepositoryInformation.cs b/LibGit2Sharp/RepositoryInformation.cs
index 2be3d62d..c77c1ca9 100644
--- a/LibGit2Sharp/RepositoryInformation.cs
+++ b/LibGit2Sharp/RepositoryInformation.cs
@@ -49,12 +49,6 @@ namespace LibGit2Sharp
{
get
{
- //TODO: Remove this once git_repository_is_empty() accepts detached head state
- if (repo.Refs["HEAD"] is DirectReference)
- {
- return false;
- }
-
var res = NativeMethods.git_repository_is_empty(repo.Handle);
Ensure.Success(res, true);