summaryrefslogtreecommitdiff
path: root/git.go
diff options
context:
space:
mode:
authorCarlos Martín Nieto <[email protected]>2015-06-08 05:13:32 +0200
committerCarlos Martín Nieto <[email protected]>2015-06-08 05:13:32 +0200
commitaefe85039e3a5c8d09d3ced41978dfcf088a6031 (patch)
tree96deb8b783335a6e0dc87d633fe5dea80294ccaf /git.go
parent53c158fbd7e5f4dac787f5c3a7107fcb4116f676 (diff)
parentaf7739787c8e9e679adf1c6327d2c8310339b726 (diff)
Merge pull request #210 from michaeledgar/master
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 (