summaryrefslogtreecommitdiff
path: root/log-tree.h
diff options
context:
space:
mode:
authorLibravatar brian m. carlson <sandals@crustytoothpaste.net>2019-12-21 19:49:24 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-01-15 14:06:19 -0800
commit1d86c8f0ce3471f0e8f2194dd821ffd292d79e3d (patch)
tree49ac20f36789aa039b2fc8f67ea69603e279f5cd /log-tree.h
parentt4300: abstract away SHA-1-specific constants (diff)
downloadtgif-1d86c8f0ce3471f0e8f2194dd821ffd292d79e3d.tar.xz
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 'log-tree.h')
0 files changed, 0 insertions, 0 deletions