summaryrefslogtreecommitdiff
path: root/include/git2/errors.h
diff options
context:
space:
mode:
authorVicent Martí <tanoku@gmail.com>2012-05-18 01:48:50 +0200
committerVicent Martí <tanoku@gmail.com>2012-05-18 01:48:50 +0200
commit904b67e69fa15b7a3246e43b3d78645ffa2331f6 (patch)
tree3be54c31248759ba27a08cef52558385116d9b19 /include/git2/errors.h
parente172cf082e62aa421703080d0bccb7b8762c8bd4 (diff)
downloadlibgit2-breaking-changes.tar.gz
errors: Rename error codesbreaking-changes
Diffstat (limited to 'include/git2/errors.h')
-rw-r--r--include/git2/errors.h11
1 files changed, 6 insertions, 5 deletions
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 {