summaryrefslogtreecommitdiff
path: root/include/git2/errors.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2015-06-24 19:32:07 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2015-06-24 23:49:10 +0200
commit189aad45af733316ddecb01e750daed5f792fa07 (patch)
treed9a3dcdcba089c4a4d9a390c48f65cd23caa6ba8 /include/git2/errors.h
parentbd470d0034e7b9217e4084a71d63dec64d2bfcd8 (diff)
downloadlibgit2-189aad45af733316ddecb01e750daed5f792fa07.tar.gz
errors: introduce EINVALID
We've been using EINVALIDSPEC for a while to mean this, but that name is too specific. Introduce this to be more explicit.
Diffstat (limited to 'include/git2/errors.h')
-rw-r--r--include/git2/errors.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/git2/errors.h b/include/git2/errors.h
index dda0f8a57..5ff0f35b5 100644
--- a/include/git2/errors.h
+++ b/include/git2/errors.h
@@ -46,6 +46,7 @@ typedef enum {
GIT_EAPPLIED = -18, /**< Patch/merge has already been applied */
GIT_EPEEL = -19, /**< The requested peel operation is not possible */
GIT_EEOF = -20, /**< Unexpected EOF */
+ GIT_EINVALID = -21, /**< Invalid operation or input */
GIT_PASSTHROUGH = -30, /**< Internal only */
GIT_ITEROVER = -31, /**< Signals end of iteration with iterator */