summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlhchavez <[email protected]>2020-02-27 21:16:46 -0800
committerGitHub <[email protected]>2020-02-27 21:16:46 -0800
commit30de4b2e26a2eb7742445962e3038052c5376bfa (patch)
treebf86166478f00d558bc6e7ebaf88e3b8162375d4
parent93c4c5b30a73a587efd2f5bc1f33d0ef8cec6950 (diff)
parent0505eef78da720e7d528d1bb5139296270b6f746 (diff)
Merge pull request #542 from slyphon/fix-error-name
Resolves issue #541 - typo in error code 'ErrAmbigious'
-rw-r--r--git.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/git.go b/git.go
index 968d404..0459dde 100644
--- a/git.go
+++ b/git.go
@@ -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