summaryrefslogtreecommitdiff
path: root/upload-pack.c
diff options
context:
space:
mode:
authorLibravatar brian m. carlson <sandals@crustytoothpaste.net>2020-02-07 00:52:39 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-02-07 11:07:29 -0800
commit5df0f11f079fa83db8269f2d9818d93a240b115c (patch)
tree590c89857a2c4e14100800ffc0eacc71f9ba2a7e /upload-pack.c
parentt3310: make test work with SHA-256 (diff)
downloadtgif-5df0f11f079fa83db8269f2d9818d93a240b115c.tar.xz
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 'upload-pack.c')
0 files changed, 0 insertions, 0 deletions