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
.
The minimal length for all identifiers, which will be used even if shorter OIDs would still be unique.
a git_oid_shorten
instance, NULL if OOM