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:
parent
26397cdaea
commit
231f89164b
2
git.go
2
git.go
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue