From 904b67e69fa15b7a3246e43b3d78645ffa2331f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vicent=20Mart=C3=AD?= Date: Fri, 18 May 2012 01:48:50 +0200 Subject: errors: Rename error codes --- include/git2/errors.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'include/git2/errors.h') diff --git a/include/git2/errors.h b/include/git2/errors.h index 361c0aca0..fb6670004 100644 --- a/include/git2/errors.h +++ b/include/git2/errors.h @@ -58,12 +58,13 @@ enum { enum { GIT_OK = 0, GIT_ERROR = -1, - GIT_NOTFOUND = -3, - GIT_EXISTS = -23, - GIT_AMBIGUOUS = -29, + GIT_ENOTFOUND = -3, + GIT_EEXISTS = -4, + GIT_EAMBIGUOUS = -5, + GIT_EBUFS = -6, + GIT_PASSTHROUGH = -30, - GIT_SHORTBUFFER = -32, - GIT_REVWALKOVER = -33, + GIT_REVWALKOVER = -31, }; typedef struct { -- cgit v1.2.1