aboutsummaryrefslogtreecommitdiffstats
path: root/commit.c
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2020-02-07 00:52:39 +0000
committerJunio C Hamano <gitster@pobox.com>2020-02-07 11:07:29 -0800
commit5df0f11f079fa83db8269f2d9818d93a240b115c (patch)
tree590c89857a2c4e14100800ffc0eacc71f9ba2a7e /commit.c
parentt3310: make test work with SHA-256 (diff)
downloadgit-5df0f11f079fa83db8269f2d9818d93a240b115c.tar.gz
git-5df0f11f079fa83db8269f2d9818d93a240b115c.zip
t3311: make test work with SHA-256
Replace the hard-coded SHA-1 constants with the use of test_oid to look up an appropriate constant for each hash algorithm. In addition, adjust the fanout checks to look for either zero or one slashes in the filename without needing to check for an explicit length. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions