diff options
author | Ben Straub <bs@github.com> | 2012-08-23 23:29:09 +0400 |
---|---|---|
committer | Ben Straub <bs@github.com> | 2012-08-25 20:56:20 +0400 |
commit | c9de8611d6a3e77757a714cdf6acf46178b1d622 (patch) | |
tree | f0129e6c85be71c6241bd00dcf6305115d2bb4a4 /src/oid.c | |
parent | 5fdc41e76591aebdbae3b49440bc2c8b2430718c (diff) |
Revparse: GIT_EAMBIGUOUS
Revparse now returns EAMBIGUOUS if the the spec
doesn't match any refs/tags, and is <4 characters.
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; |