summaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorLibravatar brian m. carlson <sandals@crustytoothpaste.net>2019-08-18 20:04:27 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-08-19 15:05:00 -0700
commitaaa95dfa051fc517dde0fa31187c744094cd17c5 (patch)
treea4bbe05b9268891aa7326348fae701c147e2138f /diff.c
parentbuiltin/show-index: replace sha1_to_hex (diff)
downloadtgif-aaa95dfa051fc517dde0fa31187c744094cd17c5.tar.xz
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 'diff.c')
0 files changed, 0 insertions, 0 deletions