@param out_ output hex string; must be pointing at the start of
the hex sequence and have at least the number of bytes
needed for an oid encoded in hex (40 bytes). Only the
oid digits are written; a '\\0' terminator must be added
by the caller if it is required.
@param id oid structure to format.
@return 0 on success or error code
Format a git_oid into a hex string.
@param out_ output hex string; must be pointing at the start of the hex sequence and have at least the number of bytes needed for an oid encoded in hex (40 bytes). Only the oid digits are written; a '\\0' terminator must be added by the caller if it is required. @param id oid structure to format. @return 0 on success or error code