git-svn: set the OID length based on hash algorithm
commit66eadd119a02aa9a001d44006563b3bd99b41d54
authorbrian m. carlson <sandals@crustytoothpaste.net>
Mon, 22 Jun 2020 18:04:15 +0000 (22 18:04 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Jun 2020 18:21:07 +0000 (22 11:21 -0700)
tree32a37f86a49f73329b0c030d1d25130d3f4b0592
parent94b2ee1aeeb2dbec8383118db74d5c5c0a95476f
git-svn: set the OID length based on hash algorithm

When reading the configuration or when creating a new repository, load
the extensions.objectFormat value and set the object ID length to 64 if
it's "sha256".  Note that we use the hex length in git-svn because most
of our processing is done on hex values, not binary ones.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Acked-by: Eric Wong <e@80x24.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-svn.perl