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

Resolves issue #541 - typo in error code 'ErrAmbigious'
This commit is contained in:
lhchavez 2020-02-27 21:16:46 -08:00 committed by GitHub
commit 30de4b2e26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

2
git.go
View File

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