mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-12 16:01:41 +00:00
Added GIT_EINVALIDREFSTATE error.
This commit is contained in:
parent
aa2120e9da
commit
6a0895adea
@ -26,7 +26,8 @@ static struct {
|
|||||||
{GIT_ETOONESTEDSYMREF, "The specified symbolic reference is too deeply nested"},
|
{GIT_ETOONESTEDSYMREF, "The specified symbolic reference is too deeply nested"},
|
||||||
{GIT_EPACKEDREFSCORRUPTED, "The pack-refs file is either corrupted of its format is not currently supported"},
|
{GIT_EPACKEDREFSCORRUPTED, "The pack-refs file is either corrupted of its format is not currently supported"},
|
||||||
{GIT_EINVALIDPATH, "The path is invalid" },
|
{GIT_EINVALIDPATH, "The path is invalid" },
|
||||||
{GIT_EREVWALKOVER, "The revision walker is empty; there are no more commits left to iterate"}
|
{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"}
|
||||||
};
|
};
|
||||||
|
|
||||||
const char *git_strerror(int num)
|
const char *git_strerror(int num)
|
||||||
|
@ -154,6 +154,9 @@
|
|||||||
/** The revision walker is empty; there are no more commits left to iterate */
|
/** The revision walker is empty; there are no more commits left to iterate */
|
||||||
#define GIT_EREVWALKOVER (GIT_ERROR - 20)
|
#define GIT_EREVWALKOVER (GIT_ERROR - 20)
|
||||||
|
|
||||||
|
/** The state of the reference is not valid */
|
||||||
|
#define GIT_EINVALIDREFSTATE (GIT_ERROR - 21)
|
||||||
|
|
||||||
GIT_BEGIN_DECL
|
GIT_BEGIN_DECL
|
||||||
/** @} */
|
/** @} */
|
||||||
GIT_END_DECL
|
GIT_END_DECL
|
||||||
|
Loading…
Reference in New Issue
Block a user