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/Reference.cs | |
parent | dd15de908706711b51b7acb24faab726d2b3cb16 (diff) |
Use CSharp friendly names for libgit2 error types and codes
Diffstat (limited to 'LibGit2Sharp/Reference.cs')
-rw-r--r-- | LibGit2Sharp/Reference.cs | 2 |
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; } |