diff options
author | nulltoken <emeric.fermas@gmail.com> | 2011-06-29 19:06:20 +0400 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2011-07-14 17:52:08 +0400 |
commit | 148fb75694843787b3d80ecd3e4d3dc5229dab61 (patch) | |
tree | aeae68b029ac6b639fcc8c3d8dc43ad22dee49bc /LibGit2Sharp/RepositoryInformation.cs | |
parent | dbf812da22d950481a286a7287913d2e834ad117 (diff) |
Update libgit2 binaries to 33afca4
Final fixes for issue #51, #52 and #53.
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); |