t5510: make hash size independent
commitba1be1ab45801db55e5b9e66194a82ffcc76b5f0
authorbrian m. carlson <sandals@crustytoothpaste.net>
Sat, 21 Dec 2019 19:49:29 +0000 (21 19:49 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 15 Jan 2020 22:06:19 +0000 (15 14:06 -0800)
tree79fe9f2f700ca4ec17d3a91a803b187206fa4470
parentcba472d3adad06b07996c7d9df850c7e90a21ef3
t5510: make hash size independent

Use $OID_REGEX instead of hard-coding 40-based regular expressions.
Change invocations of cut with a hard-coded constant to split using a
delimiter instead.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5510-fetch.sh