summaryrefslogtreecommitdiff
path: root/include/git2/commit.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-01-22 22:52:06 +0000
committerGitHub <noreply@github.com>2019-01-22 22:52:06 +0000
commit635693d3bc55770ec7a6640ba3f2f0ee434a6042 (patch)
tree9156b0eae8ff19b7e2e0bb8eb76d38ce35baac5c /include/git2/commit.h
parent6b2cd0ed599aec32444166b7ad5b0c9fdd88b498 (diff)
parenta27a4de6f8003961d38958893c6c637395c7cc04 (diff)
downloadlibgit2-635693d3bc55770ec7a6640ba3f2f0ee434a6042.tar.gz
Merge pull request #4917 from libgit2/ethomson/giterr
Move `giterr` to `git_error`
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