Merge pull request #542 from slyphon/fix-error-name

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

(cherry picked from commit 30de4b2e26)
This commit is contained in:
lhchavez 2020-02-27 21:16:46 -08:00
parent 26397cdaea
commit 231f89164b
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