]> git.ipfire.org Git - thirdparty/git.git/commit
t3305: make hash agnostic
authorbrian m. carlson <sandals@crustytoothpaste.net>
Wed, 29 Jul 2020 23:13:52 +0000 (23:13 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 30 Jul 2020 16:16:45 +0000 (09:16 -0700)
commit9e3bd8a391a3a2a486e4cff6ff7b4de2bac5a15d
tree37e9ef981c0b7cfa6249ebc62016eee4e242d9ea
parentd827bce5ede425853d77b710ec93f60e0ebd2efb
t3305: make hash agnostic

When computing the fanout length, let's use test_oid to look up the
hexadecimal size of the hash in question instead of hard-coding a value.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Reviewed-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3305-notes-fanout.sh