mirror of
https://git.proxmox.com/git/libgit2
synced 2026-01-06 18:52:21 +00:00
Add GIT_EEXISTS error code
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
This commit is contained in:
parent
6dcb09b5b5
commit
baad182cbc
@ -161,6 +161,9 @@
|
||||
/** This feature has not been implemented yet */
|
||||
#define GIT_ENOTIMPLEMENTED (GIT_ERROR - 22)
|
||||
|
||||
/** A refernce or object of the same name already exists */
|
||||
#define GIT_EEXISTS (GIT_ERROR - 23)
|
||||
|
||||
GIT_BEGIN_DECL
|
||||
|
||||
typedef struct {
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user