From 53c0bd81a2915d6f82ef2f9c0703770783a3dc89 Mon Sep 17 00:00:00 2001 From: Marc Pegon Date: Fri, 27 May 2011 22:37:10 +0200 Subject: Added error for ambiguous oid prefixes. Added methods to compare the first nth hexadecimal characters (i.e. packets of 4 bits) of OIDs. --- src/errors.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/errors.c') 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) -- cgit v1.2.1