Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Pegon <pegon.marc@gmail.com>2011-05-28 00:37:10 +0400
committerVicent Marti <tanoku@gmail.com>2011-06-02 01:40:41 +0400
commit53c0bd81a2915d6f82ef2f9c0703770783a3dc89 (patch)
treee34fd5f5cd97b9738a49588fa889c8ee6819a63a /src/errors.c
parentecd6fdf1f70b785f24e2d17bec516ac88be0cf2c (diff)
Added error for ambiguous oid prefixes. Added methods to compare the first nth hexadecimal characters (i.e. packets of 4 bits) of OIDs.
Diffstat (limited to 'src/errors.c')
-rw-r--r--src/errors.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/errors.c b/src/errors.c
index 1fb68ee65..7da02b4f7 100644
--- a/src/errors.c
+++ b/src/errors.c
@@ -61,6 +61,7 @@ static struct {
{GIT_EEXISTS, "A reference with this name already exists"},
{GIT_EOVERFLOW, "The given integer literal is too large to be parsed"},
{GIT_ENOTNUM, "The given literal is not a valid number"},
+ {GIT_EAMBIGUOUSOIDPREFIX, "The given oid prefix is ambiguous"},
};
const char *git_strerror(int num)