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. --- include/git2/errors.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/git2/errors.h') diff --git a/include/git2/errors.h b/include/git2/errors.h index 7e957b803..3ed5cd680 100644 --- a/include/git2/errors.h +++ b/include/git2/errors.h @@ -119,6 +119,9 @@ typedef enum { /** The specified object has its data corrupted */ GIT_EOBJCORRUPTED = -28, + + /** The given short oid is ambiguous */ + GIT_EAMBIGUOUSOIDPREFIX = -29, } git_error; /** -- cgit v1.2.1