Add error code matching GIT_EAUTH for authentication failures #210

Merged
michaeledgar merged 1 commits from master into master 2015-06-07 22:13:32 -05:00
1 changed files with 2 additions and 0 deletions

2
git.go
View File

@ -87,6 +87,8 @@ const (
ErrPassthrough ErrorCode = C.GIT_PASSTHROUGH ErrPassthrough ErrorCode = C.GIT_PASSTHROUGH
// Signals end of iteration with iterator // Signals end of iteration with iterator
ErrIterOver ErrorCode = C.GIT_ITEROVER ErrIterOver ErrorCode = C.GIT_ITEROVER
// Authentication failed
ErrAuth ErrorCode = C.GIT_EAUTH
) )
var ( var (