summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJosh Bleecher Snyder <josharian@gmail.com>2020-02-07 10:06:28 -0800
committerJosh Bleecher Snyder <josharian@gmail.com>2020-02-07 10:06:28 -0800
commit216165ecfa6bdea6a000a1b69617b54f48203f87 (patch)
tree246c7aaefd02d5f86d36d16503a4cb9d34007982 /docs
parentd4d26e8d679639ca324812717c3997d0fa6ce096 (diff)
downloadlibgit2-216165ecfa6bdea6a000a1b69617b54f48203f87.tar.gz
transports: use GIT_EAUTH for authentication failures
When the failure is clearly an auth failure (as opposed to possibly an auth failure), use the error code GIT_EAUTH instead of GIT_ERROR. While we're here, fix a typo and improve an error message. Fixes #5389.
Diffstat (limited to 'docs')
-rw-r--r--docs/changelog.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/changelog.md b/docs/changelog.md
index 72973b3af..af80d48cf 100644
--- a/docs/changelog.md
+++ b/docs/changelog.md
@@ -67,6 +67,7 @@ v0.28 + 1
is now hidden, and a new `git_cred_get_username` function has been provided.
* Some errors of class `GIT_ERROR_NET` now have class `GIT_ERROR_HTTP`.
+ Most authentication failures now have error code `GIT_EAUTH` instead of `GIT_ERROR`.
### Breaking CMake configuration changes