diff options
Diffstat (limited to 'src/oid.c')
-rw-r--r-- | src/oid.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -24,9 +24,6 @@ int git_oid_fromstrn(git_oid *out, const char *str, size_t length) size_t p; int v; - if (length < 4) - return oid_error_invalid("input too short"); - if (length > GIT_OID_HEXSZ) length = GIT_OID_HEXSZ; |