Merge pull request #210 from michaeledgar/master

Add error code matching GIT_EAUTH for authentication failures
This commit is contained in:
Carlos Martín Nieto 2015-06-08 05:13:32 +02:00
commit aefe85039e
1 changed files with 2 additions and 0 deletions

2
git.go
View File

@ -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 (