Resolves issue #541 - typo in error code 'ErrAmbigious' #542

Merged
slyphon merged 1 commits from fix-error-name into master 2020-02-27 23:16:47 -06:00
1 changed files with 2 additions and 0 deletions

2
git.go
View File

@ -61,6 +61,8 @@ const (
// Object exists preventing operation // Object exists preventing operation
ErrExists ErrorCode = C.GIT_EEXISTS ErrExists ErrorCode = C.GIT_EEXISTS
// More than one object matches // More than one object matches
ErrAmbiguous ErrorCode = C.GIT_EAMBIGUOUS
// (backwards compatibility misspelling)
ErrAmbigious ErrorCode = C.GIT_EAMBIGUOUS ErrAmbigious ErrorCode = C.GIT_EAMBIGUOUS
// Output buffer too short to hold data // Output buffer too short to hold data
ErrBuffs ErrorCode = C.GIT_EBUFS ErrBuffs ErrorCode = C.GIT_EBUFS