Parse a hex formatted null-terminated string into a git_oid.
oid structure the result is written into.
input hex string; must be null-terminated.
0 or an error code
See Implementation
Parse a hex formatted null-terminated string into a git_oid.