From af7739787c8e9e679adf1c6327d2c8310339b726 Mon Sep 17 00:00:00 2001 From: Mike Edgar Date: Sun, 7 Jun 2015 19:20:43 -0400 Subject: [PATCH] Add error code matching GIT_EAUTH for authentication failures --- git.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/git.go b/git.go index 4f1a65e..a44459f 100644 --- a/git.go +++ b/git.go @@ -87,6 +87,8 @@ const ( ErrPassthrough ErrorCode = C.GIT_PASSTHROUGH // Signals end of iteration with iterator ErrIterOver ErrorCode = C.GIT_ITEROVER + // Authentication failed + ErrAuth ErrorCode = C.GIT_EAUTH ) var ( -- 2.45.2