Skip to content

Commit 95ec0b7

Browse files
committed
libgit2: update to reflect new error codes
1 parent 2a8b1f0 commit 95ec0b7

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

LibGit2Sharp/Core/GitErrorCategory.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ internal enum GitErrorCategory
3434
Describe,
3535
Rebase,
3636
Filesystem,
37-
Patch
37+
Patch,
38+
Worktree,
39+
Sha1
3840
}
3941
}

LibGit2Sharp/Core/GitErrorCode.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,5 +125,15 @@ internal enum GitErrorCode
125125
/// There are no more entries left to iterate.
126126
/// </summary>
127127
IterOver = -31,
128+
129+
/// <summary>
130+
/// Internal-only.
131+
/// </summary>
132+
Retry = -32,
133+
134+
/// <summary>
135+
/// A retrieved object did not match its expected ID.
136+
/// </summary>
137+
Mismatch = -33,
128138
}
129139
}

0 commit comments

Comments
 (0)