git_oid_fromstrn already sets a maximum on the length of the string