summaryrefslogtreecommitdiff
path: root/docs/error-handling.md
diff options
context:
space:
mode:
authorYoichi Nakayama <yoichi.nakayama@gmail.com>2021-11-23 10:12:29 +0900
committerYoichi Nakayama <yoichi.nakayama@gmail.com>2021-11-23 10:20:04 +0900
commit7bb206a76dca70b7db236315d348c6c9fc325cab (patch)
treee38bb2d225746de8343db08837840e84aad3ece0 /docs/error-handling.md
parent540b02f3b97baf2bc1d62210a23d522b5d73e5eb (diff)
parentf9c4dc10d90732cfbe2271dd58b01dd8f4003d15 (diff)
downloadlibgit2-7bb206a76dca70b7db236315d348c6c9fc325cab.tar.gz
Merge branch 'main' into better-compatiblity-for-at-time-notation
Conflicts: src/revparse.c
Diffstat (limited to 'docs/error-handling.md')
-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 05725f2ed..13ce78f5f 100644
--- a/docs/error-handling.md
+++ b/docs/error-handling.md
@@ -21,7 +21,7 @@ critical failures (such as a packfile being corrupted, a loose object
having the wrong access permissions, etc.) all of which will return -1.
When the object lookup is successful, it will return 0.
-If libgit2 was compiled with threads enabled (`-DTHREADSAFE=ON` when using
+If libgit2 was compiled with threads enabled (`-DUSE_THREADS=ON` when using
CMake), then the error message will be kept in thread-local storage, so it
will not be modified by other threads. If threads are not enabled, then
the error message is in global data.