diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2018-10-15 00:01:54 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-10-15 12:53:15 +0900 |
commit | 268babd6fb06cfb897d48f7a9adb4828f5f6b45f (patch) | |
tree | 2d4afd8ad6c0b8e1fa05289bcd46b61835911d72 /merge-blobs.c | |
parent | pack-revindex: express constants in terms of the_hash_algo (diff) | |
download | tgif-268babd6fb06cfb897d48f7a9adb4828f5f6b45f.tar.xz |
packfile: express constants in terms of the_hash_algo
Replace uses of GIT_SHA1_RAWSZ with references to the_hash_algo to avoid
dependence on a particular hash length.
It's likely that in the future, we'll update the pack format to indicate
what hash algorithm it uses, and then this code will change. However,
at least on an interim basis, make it easier to develop on a pure
SHA-256 Git by using the_hash_algo here.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'merge-blobs.c')
0 files changed, 0 insertions, 0 deletions