t/lib-git-svn: make hash size independent
commit148f193d16e3ca02b5ea2b72b5f069e722ac4a30
authorbrian m. carlson <sandals@crustytoothpaste.net>
Mon, 22 Jun 2020 18:04:11 +0000 (22 18:04 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Jun 2020 18:21:07 +0000 (22 11:21 -0700)
tree9164ec0ff62bdba05ab2420f2ba3171c665c8c49
parent3e04b6e1b672a2b38b1e2a7094bcc600e76959b1
t/lib-git-svn: make hash size independent

The record size used in the git svn storage is four bytes plus the
length of the binary hash.  Pass the hash length into our Perl
invocation and use it to compute the size of the records.

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/lib-git-svn.sh