summaryrefslogtreecommitdiff
path: root/include/git2/commit.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2018-12-26 14:06:21 -0600
committerEdward Thomson <ethomson@edwardthomson.com>2019-01-22 22:26:51 +0000
commit20961b9871f12814790ebed80d88692fbb962d4f (patch)
tree9e8ba388e7747fca8c2e25d73a0ceb3f1ae3383b /include/git2/commit.h
parent6b2cd0ed599aec32444166b7ad5b0c9fdd88b498 (diff)
downloadlibgit2-20961b9871f12814790ebed80d88692fbb962d4f.tar.gz
git_error: use full class name in public error API
Move to the `git_error` name in error-related functions, deprecating the `giterr` functions. This means, for example, that `giterr_last` is now `git_error_last`. The old names are retained for compatibility. This only updates the public API; internal API and function usage remains unchanged.
Diffstat (limited to 'include/git2/commit.h')
-rw-r--r--include/git2/commit.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/commit.h b/include/git2/commit.h
index 50f2fc963..7e0409cc7 100644
--- a/include/git2/commit.h
+++ b/include/git2/commit.h
@@ -296,8 +296,8 @@ GIT_EXTERN(int) git_commit_header_field(git_buf *out, const git_commit *commit,
* Extract the signature from a commit
*
* If the id is not for a commit, the error class will be
- * `GITERR_INVALID`. If the commit does not have a signature, the
- * error class will be `GITERR_OBJECT`.
+ * `GIT_ERROR_INVALID`. If the commit does not have a signature, the
+ * error class will be `GIT_ERROR_OBJECT`.
*
* @param signature the signature block; existing content will be
* overwritten