Skip to content

Commit 30de4b2

Browse files
authored
Merge pull request libgit2#542 from slyphon/fix-error-name
Resolves issue libgit2#541 - typo in error code 'ErrAmbigious'
2 parents 93c4c5b + 0505eef commit 30de4b2

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)