summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJohan Abildskov <randomsort@gmail.com>2018-08-27 09:23:02 +0200
committerJohan Abildskov <randomsort@gmail.com>2018-08-27 09:23:02 +0200
commitc0b2e5256ca3580b8c0fd2e6b04ae1c27d692e2e (patch)
treee8e7e0e8a2c8021c215691161779965e289d11a4 /docs
parent4bd2a508fbb100052b42a5aa35d829514d69a0fb (diff)
downloadlibgit2-c0b2e5256ca3580b8c0fd2e6b04ae1c27d692e2e.tar.gz
Add two words to clarify
Diffstat (limited to 'docs')
-rw-r--r--docs/error-handling.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/error-handling.md b/docs/error-handling.md
index 62fd55601..0dba01cd9 100644
--- a/docs/error-handling.md
+++ b/docs/error-handling.md
@@ -118,7 +118,7 @@ The public error API
Otherwise this should return a `git_error` object indicating the class
of error and the error message that was generated by the library.
Do not use this function unless the prior call to a libgit2 API
- returned an error, as it can give misleading results.
+ returned an error, as it can otherwise give misleading results.
libgit2's error strings are not cleared aggressively,
and this function may return an error string that reflects a prior error,
possibly even reflecting internal state.