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:
authorTim Clem <timothy.clem@gmail.com>2012-06-03 21:31:59 +0400
committernulltoken <emeric.fermas@gmail.com>2012-06-03 21:32:11 +0400
commit2631f67f3a642d8b48c2f5065d3a2a4968bf2de9 (patch)
treee51d44598e559e67afc29d51a36e4413da0a5075 /LibGit2Sharp/ObjectDatabase.cs
parentdd15de908706711b51b7acb24faab726d2b3cb16 (diff)
Use CSharp friendly names for libgit2 error types and codes
Diffstat (limited to 'LibGit2Sharp/ObjectDatabase.cs')
-rw-r--r--LibGit2Sharp/ObjectDatabase.cs2
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>