summaryrefslogtreecommitdiff
path: root/src/errors.c
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2011-02-11 13:58:40 +0100
committerVicent Marti <tanoku@gmail.com>2011-03-03 20:23:48 +0200
commit6a0895adea73deeaa72ee7f921205ffccb70c9bc (patch)
treef64cf73a6f8950411e4b7b99a08d1417c8b082ee /src/errors.c
parentaa2120e9da45017c6fe0126d6e9b1ee20ff40037 (diff)
downloadlibgit2-6a0895adea73deeaa72ee7f921205ffccb70c9bc.tar.gz
Added GIT_EINVALIDREFSTATE error.
Diffstat (limited to 'src/errors.c')
-rw-r--r--src/errors.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/errors.c b/src/errors.c
index 3616fdb93..880163f78 100644
--- a/src/errors.c
+++ b/src/errors.c
@@ -26,7 +26,8 @@ static struct {
{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_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)