output hex string; you say how many bytes to write. If the number of bytes is > GIT_OID_HEXSZ, extra bytes will be zeroed; if not, a '\0' terminator is NOT added.
number of characters to write into out string
oid structure to format.
0 on success or error code
Format a git_oid into a partial hex string.