summaryrefslogtreecommitdiffstats
path: root/gitweb
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2019-12-21 19:49:24 +0000
committerJunio C Hamano <gitster@pobox.com>2020-01-15 14:06:19 -0800
commit1d86c8f0ce3471f0e8f2194dd821ffd292d79e3d (patch)
tree49ac20f36789aa039b2fc8f67ea69603e279f5cd /gitweb
parent525a7f176980439fb1c32a34b705b06bcb7033f1 (diff)
downloadgit-1d86c8f0ce3471f0e8f2194dd821ffd292d79e3d.tar.gz
git-1d86c8f0ce3471f0e8f2194dd821ffd292d79e3d.zip
t5318: update for SHA-256
When running with SHA-256 as the hash algorithm, the hash version octet is 2 instead of 1. Pick the right value depending on the hash algorithm and use it where we look for the existing value. To ensure the test checking for invalid data passes, use 3 as the test value for an invalid hash version. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitweb')
0 files changed, 0 insertions, 0 deletions