diff options
| -rw-r--r-- | src/oid.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -53,7 +53,7 @@ int git_oid_fromstrn(git_oid *out, const char *str, size_t length) int git_oid_fromstrp(git_oid *out, const char *str) { - return git_oid_fromstrn(out, str, min(strlen(str), GIT_OID_HEXSZ)); + return git_oid_fromstrn(out, str, strlen(str)); } int git_oid_fromstr(git_oid *out, const char *str) |
