git-commit-vandalism/perl/Git
brian m. carlson 9ab33150a0 perl: create and switch variables for hash constants
git-svn has several variables for SHA-1 constants, including short hash
values and full length hash values.  Since these are no longer SHA-1
specific, let's start them with "oid" instead of "sha1".  Add a
constant, oid_length, which is the length of the hash algorithm in use
in hex.  We use the hex version because overwhelmingly that's what's
used by git-svn.

We don't currently set oid_length based on the repository algorithm, but
we will in a future commit.

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>
2020-06-22 11:21:07 -07:00
..
LoadCPAN perl: generalize the Git::LoadCPAN facility 2018-03-05 10:52:28 -08:00
SVN perl: create and switch variables for hash constants 2020-06-22 11:21:07 -07:00
I18N.pm Makefile: add Perl runtime prefix support 2018-04-11 18:09:56 +09:00
IndexInfo.pm
LoadCPAN.pm perl Git::LoadCPAN: emit better errors under NO_PERL_CPAN_FALLBACKS 2018-03-05 10:52:28 -08:00
Packet.pm Git/Packet.pm: use 'if' instead of 'unless' 2017-11-22 16:23:55 +09:00
SVN.pm perl: create and switch variables for hash constants 2020-06-22 11:21:07 -07:00