Skip to content

Commit 14ccd34

Browse files
committed
Add GIT_EMERGECONFLICT and GIT_EDIRECTORY error mapping
1 parent 78cad1d commit 14ccd34

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

LibGit2Sharp/Core/GitErrorCode.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,16 @@ internal enum GitErrorCode
106106
/// </summary>
107107
Uncommitted = -22,
108108

109+
/// <summary>
110+
/// The operation is not valid for a directory.
111+
/// </summary>
112+
Directory = -23,
113+
114+
/// <summary>
115+
/// A merge conflict exists and cannot continue
116+
/// </summary>
117+
MergeConflict = -24,
118+
109119
/// <summary>
110120
/// Skip and passthrough the given ODB backend.
111121
/// </summary>

0 commit comments

Comments
 (0)