summaryrefslogtreecommitdiff
path: root/include/git2/errors.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2021-12-12 14:29:11 -0500
committerEdward Thomson <ethomson@edwardthomson.com>2022-03-23 08:39:19 -0400
commit36df49c26d93f4d5cc14db48a40316b29945bcd4 (patch)
tree04dd4deb19640801cd8275313e5510c47e482189 /include/git2/errors.h
parentc7b189baeab2d215ead5f299a0d188191b476dd3 (diff)
downloadlibgit2-36df49c26d93f4d5cc14db48a40316b29945bcd4.tar.gz
sha: GIT_ERROR_SHA1 is deprecated in favor of GIT_ERROR_SHA
The more generic GIT_ERROR_SHA allows for SHA256 errors as well as SHA1.
Diffstat (limited to 'include/git2/errors.h')
-rw-r--r--include/git2/errors.h2
1 files changed, 1 insertions, 1 deletions
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;