summaryrefslogtreecommitdiff
path: root/builtin/repack.c
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2019-08-18 20:04:27 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-08-19 22:05:00 (GMT)
commitaaa95dfa051fc517dde0fa31187c744094cd17c5 (patch)
treea4bbe05b9268891aa7326348fae701c147e2138f /builtin/repack.c
parentbe8e172e9f4f62c9e4cdbecb5cd667775f38d4f1 (diff)
downloadgit-aaa95dfa051fc517dde0fa31187c744094cd17c5.zip
git-aaa95dfa051fc517dde0fa31187c744094cd17c5.tar.gz
git-aaa95dfa051fc517dde0fa31187c744094cd17c5.tar.bz2
midx: switch to using the_hash_algo
Instead of hard-coding the hash size, use the_hash_algo to look up the hash size at runtime. Remove the #define constant which was used to hold the hash length, since writing the expression with the_hash_algo provide enough documentary value on its own. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/repack.c')
0 files changed, 0 insertions, 0 deletions