Skip to content

Commit 0cda0ff

Browse files
committed
Add missing error names
1 parent 69942c0 commit 0cda0ff

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ext/rugged/rugged.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ const char *RUGGED_ERROR_NAMES[] = {
3939
"DescribeError", /* GIT_ERROR_DESCRIBE */
4040
"RebaseError", /* GIT_ERROR_REBASE */
4141
"FilesystemError", /* GIT_ERROR_FILESYSTEM */
42+
"PathError", /* GIT_ERROR_PATCH */
43+
"WorktreeError", /* GIT_ERROR_WORKTREE */
44+
"SHA1Error", /* GIT_ERROR_SHA1 */
45+
"HTTPError", /* GIT_ERROR_HTTP */
4246
};
4347

4448
#define RUGGED_ERROR_COUNT (int)((sizeof(RUGGED_ERROR_NAMES)/sizeof(RUGGED_ERROR_NAMES[0])))

0 commit comments

Comments
 (0)