From 231f89164b85744ae3d327d104d702c6d6ccb301 Mon Sep 17 00:00:00 2001 From: lhchavez Date: Thu, 27 Feb 2020 21:16:46 -0800 Subject: [PATCH] Merge pull request #542 from slyphon/fix-error-name Resolves issue #541 - typo in error code 'ErrAmbigious' (cherry picked from commit 30de4b2e26a2eb7742445962e3038052c5376bfa) --- git.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/git.go b/git.go index 897d261..f953ebc 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