diff options
author | Carlos Martín Nieto <cmn@elego.de> | 2011-03-28 11:31:58 +0200 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2011-03-29 19:58:18 +0300 |
commit | baad182cbcafb2f7332ad5864695a42a0354f684 (patch) | |
tree | 42529f534bcf2d7826b091b8bc4d1ed8d92d555b /src/errors.c | |
parent | 6dcb09b5b57875f334f61aebed695e2e4193db5e (diff) | |
download | libgit2-baad182cbcafb2f7332ad5864695a42a0354f684.tar.gz |
Add GIT_EEXISTS error code
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Diffstat (limited to 'src/errors.c')
-rw-r--r-- | src/errors.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/errors.c b/src/errors.c index f6b964837..3c0e8eb1f 100644 --- a/src/errors.c +++ b/src/errors.c @@ -28,7 +28,8 @@ static struct { {GIT_EINVALIDPATH, "The path is invalid" }, {GIT_EREVWALKOVER, "The revision walker is empty; there are no more commits left to iterate"}, {GIT_EINVALIDREFSTATE, "The state of the reference is not valid"}, - {GIT_ENOTIMPLEMENTED, "This feature has not been implemented yet"} + {GIT_ENOTIMPLEMENTED, "This feature has not been implemented yet"}, + {GIT_EEXISTS, "A reference with this name already exists"} }; const char *git_strerror(int num) |