summaryrefslogtreecommitdiff
path: root/git.go
diff options
context:
space:
mode:
authorMike Edgar <[email protected]>2015-06-07 19:20:43 -0400
committerMike Edgar <[email protected]>2015-06-07 19:20:43 -0400
commitaf7739787c8e9e679adf1c6327d2c8310339b726 (patch)
tree96deb8b783335a6e0dc87d633fe5dea80294ccaf /git.go
parent53c158fbd7e5f4dac787f5c3a7107fcb4116f676 (diff)
Add error code matching GIT_EAUTH for authentication failures
Diffstat (limited to 'git.go')
-rw-r--r--git.go2
1 files changed, 2 insertions, 0 deletions
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 (