Parse N characters of a hex formatted object id into a git_oid.
If N is odd, the last byte's high nibble will be read in and the
low nibble set to zero.
@param out_ oid structure the result is written into.
@param str input hex string of at least size length
@param length length of the input string
@return 0 or an error code
Parse N characters of a hex formatted object id into a git_oid.
If N is odd, the last byte's high nibble will be read in and the low nibble set to zero.
@param out_ oid structure the result is written into. @param str input hex string of at least size length @param length length of the input string @return 0 or an error code