diff options
Diffstat (limited to 'LibGit2Sharp/RepositoryInformation.cs')
-rw-r--r-- | LibGit2Sharp/RepositoryInformation.cs | 6 |
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); |