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/Reference.cs
parentdd15de908706711b51b7acb24faab726d2b3cb16 (diff)
Use CSharp friendly names for libgit2 error types and codes
Diffstat (limited to 'LibGit2Sharp/Reference.cs')
-rw-r--r--LibGit2Sharp/Reference.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/LibGit2Sharp/Reference.cs b/LibGit2Sharp/Reference.cs
index 0a39022b..9c530624 100644
--- a/LibGit2Sharp/Reference.cs
+++ b/LibGit2Sharp/Reference.cs
@@ -63,7 +63,7 @@ namespace LibGit2Sharp
ReferenceSafeHandle resolvedHandle;
int res = NativeMethods.git_reference_resolve(out resolvedHandle, handle);
- if (res == (int)GitErrorCode.GIT_ENOTFOUND)
+ if (res == (int)GitErrorCode.NotFound)
{
return null;
}