diff options
Diffstat (limited to 'include/git2')
| -rw-r--r-- | include/git2/deprecated.h | 2 | ||||
| -rw-r--r-- | include/git2/errors.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/git2/deprecated.h b/include/git2/deprecated.h index f73d7da61..c32abeeb7 100644 --- a/include/git2/deprecated.h +++ b/include/git2/deprecated.h @@ -436,6 +436,8 @@ GIT_EXTERN(int) git_diff_format_email_options_init( #define GITERR_WORKTREE GIT_ERROR_WORKTREE #define GITERR_SHA1 GIT_ERROR_SHA1 +#define GIT_ERROR_SHA1 GIT_ERROR_SHA + /** * Return the last `git_error` object that was generated for the * current thread. This is an alias of `git_error_last` and is diff --git a/include/git2/errors.h b/include/git2/errors.h index 62f363507..aba6d75e3 100644 --- a/include/git2/errors.h +++ b/include/git2/errors.h @@ -106,7 +106,7 @@ typedef enum { GIT_ERROR_FILESYSTEM, GIT_ERROR_PATCH, GIT_ERROR_WORKTREE, - GIT_ERROR_SHA1, + GIT_ERROR_SHA, GIT_ERROR_HTTP, GIT_ERROR_INTERNAL } git_error_t; |
