diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2019-08-18 20:04:27 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-08-19 15:05:00 -0700 |
commit | aaa95dfa051fc517dde0fa31187c744094cd17c5 (patch) | |
tree | a4bbe05b9268891aa7326348fae701c147e2138f /t/t2400-worktree-add.sh | |
parent | builtin/show-index: replace sha1_to_hex (diff) | |
download | tgif-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 't/t2400-worktree-add.sh')
0 files changed, 0 insertions, 0 deletions