summaryrefslogtreecommitdiff
path: root/docs/conventions.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/conventions.md')
-rw-r--r--docs/conventions.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/conventions.md b/docs/conventions.md
index c8a39dd2b..a017db11c 100644
--- a/docs/conventions.md
+++ b/docs/conventions.md
@@ -136,11 +136,11 @@ Check
[`include/git2/errors.h`](https://github.com/libgit2/libgit2/blob/development/include/git2/errors.h)
for the return codes already defined.
-In your implementation, use `giterr_set()` to provide extended error
+In your implementation, use `git_error_set()` to provide extended error
information to callers.
If a `libgit2` function internally invokes another function that reports an
-error, but the error is not propagated up, use `giterr_clear()` to prevent
+error, but the error is not propagated up, use `git_error_clear()` to prevent
callers from getting the wrong error message later on.