summaryrefslogtreecommitdiff
path: root/pack-write.c
diff options
context:
space:
mode:
authorLibravatar brian m. carlson <sandals@crustytoothpaste.net>2019-02-19 00:05:17 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-04-01 11:57:39 +0900
commit95399788d158e4628e25db20569d44af21a40906 (patch)
tree4051c49eddd71f891f7961fec6b251452af31f6b /pack-write.c
parentremote-curl: make hash size independent (diff)
downloadtgif-95399788d158e4628e25db20569d44af21a40906.tar.xz
hash: add a function to lookup hash algorithm by length
There are some cases, such as the dumb HTTP transport and bundles, where we can only determine the hash algorithm in use by the length of the object IDs. Provide a function that looks up the algorithm by length. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pack-write.c')
0 files changed, 0 insertions, 0 deletions