The OID shortener is used to process a list of OIDs
in text form and return the shortest length that would
uniquely identify all of them.
E.g. look at the result of git log --abbrev.
@param min_length The minimal length for all identifiers,
which will be used even if shorter OIDs would still
be unique.
@return a git_oid_shorten instance, null if OOM
Create a new OID shortener.
The OID shortener is used to process a list of OIDs in text form and return the shortest length that would uniquely identify all of them.
E.g. look at the result of git log --abbrev.
@param min_length The minimal length for all identifiers, which will be used even if shorter OIDs would still be unique. @return a git_oid_shorten instance, null if OOM