1
0
mirror of https://github.com/git/git.git synced 2024-10-02 11:11:23 +02:00
git/perl
brian m. carlson bcbb44ba05 Git.pm: make hash size independent
The cat_blob function was matching on exactly 40 hex characters.  This
won't work with SHA-256, which uses 64-character hex object IDs.  While
it should be fine to simply match any number of hex characters since the
output is space delimited, be extra safe by matching either exactly 40
or exactly 64 hex characters.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2019-04-01 11:57:39 +09:00
..
FromCPAN
Git
header_templates
.gitignore
Git.pm Git.pm: make hash size independent 2019-04-01 11:57:39 +09:00