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/BranchCollection.cs
parentdd15de908706711b51b7acb24faab726d2b3cb16 (diff)
Use CSharp friendly names for libgit2 error types and codes
Diffstat (limited to 'LibGit2Sharp/BranchCollection.cs')
-rw-r--r--LibGit2Sharp/BranchCollection.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/LibGit2Sharp/BranchCollection.cs b/LibGit2Sharp/BranchCollection.cs
index 381ee5c1..c69be0a2 100644
--- a/LibGit2Sharp/BranchCollection.cs
+++ b/LibGit2Sharp/BranchCollection.cs
@@ -121,7 +121,7 @@ namespace LibGit2Sharp
int res = NativeMethods.git_branch_delete(repo.Handle, name, isRemote ? GitBranchType.GIT_BRANCH_REMOTE : GitBranchType.GIT_BRANCH_LOCAL);
- if (res == (int)GitErrorCode.GIT_ENOTFOUND)
+ if (res == (int)GitErrorCode.NotFound)
{
return;
}