git-svn: set the OID length based on hash algorithm