Skip to content

Commit 1526448

Browse files
committed
Merge pull request #542 from slyphon/fix-error-name
Resolves issue #541 - typo in error code 'ErrAmbigious' (cherry picked from commit 30de4b2)
1 parent f4a3dd4 commit 1526448

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

git.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ const (
6161
// Object exists preventing operation
6262
ErrExists ErrorCode = C.GIT_EEXISTS
6363
// More than one object matches
64+
ErrAmbiguous ErrorCode = C.GIT_EAMBIGUOUS
65+
// (backwards compatibility misspelling)
6466
ErrAmbigious ErrorCode = C.GIT_EAMBIGUOUS
6567
// Output buffer too short to hold data
6668
ErrBuffs ErrorCode = C.GIT_EBUFS

0 commit comments

Comments
 (0)