t9104: make hash size independent
commitbbe0616cd85f30804d62d3fb6e183e9c5ff81b9d
authorbrian m. carlson <sandals@crustytoothpaste.net>
Fri, 19 Jun 2020 22:39:38 +0000 (19 22:39 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Jun 2020 16:52:02 +0000 (22 09:52 -0700)
treedceea8acb10f446db9f0809f6b7da4098cb1ec34
parent407527ba448f2916dbd8a56f63735b386e6eb30b
t9104: make hash size independent

The size of a record in the database used by git svn is four bytes plus
the length of the binary hash.  Instead of hard-coding 24, compute this
value based on the size of the hash in use.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Acked-by: Eric Wong <e@80x24.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9104-git-svn-follow-parent.sh