diff options
author | Tim Clem <timothy.clem@gmail.com> | 2012-06-03 21:31:59 +0400 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2012-06-03 21:32:11 +0400 |
commit | 2631f67f3a642d8b48c2f5065d3a2a4968bf2de9 (patch) | |
tree | e51d44598e559e67afc29d51a36e4413da0a5075 /LibGit2Sharp/ObjectDatabase.cs | |
parent | dd15de908706711b51b7acb24faab726d2b3cb16 (diff) |
Use CSharp friendly names for libgit2 error types and codes
Diffstat (limited to 'LibGit2Sharp/ObjectDatabase.cs')
-rw-r--r-- | LibGit2Sharp/ObjectDatabase.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LibGit2Sharp/ObjectDatabase.cs b/LibGit2Sharp/ObjectDatabase.cs index 898eb828..3154d7c1 100644 --- a/LibGit2Sharp/ObjectDatabase.cs +++ b/LibGit2Sharp/ObjectDatabase.cs @@ -33,7 +33,7 @@ namespace LibGit2Sharp { var oid = objectId.Oid; - return NativeMethods.git_odb_exists(handle, ref oid) != (int)GitErrorCode.GIT_OK; + return NativeMethods.git_odb_exists(handle, ref oid) != (int)GitErrorCode.Ok; } /// <summary> |