git-cvsserver: port to SHA-256
authorbrian m. carlson <redacted>
Mon, 22 Jun 2020 18:04:16 +0000 (18:04 +0000)
committerJunio C Hamano <redacted>
Mon, 22 Jun 2020 18:21:07 +0000 (11:21 -0700)
commit05ea93d6b2bfb9a45a9019a5cfaba82dc81dc2f3
treef17d63423ed6348b43071ecc56e5528f3a85f0ae
parent66eadd119a02aa9a001d44006563b3bd99b41d54
git-cvsserver: port to SHA-256

The code of git-cvsserver currently has several hard-coded 20 and 40
constants that are the length of SHA-1.  When parsing the configuration
file, read the extensions.objectformat configuration setting as well as
CVS-related ones and adjust the hash sizes accordingly.  Use these
computed values in all the places we match object IDs.

Signed-off-by: brian m. carlson <redacted>
Acked-by: Eric Wong <redacted>
Signed-off-by: Junio C Hamano <redacted>
git-cvsserver.perl
git clone https://git.99rst.org/PROJECT