t7400: make hash size independent
authorbrian m. carlson <redacted>
Wed, 29 Jul 2020 23:14:03 +0000 (23:14 +0000)
committerJunio C Hamano <redacted>
Thu, 30 Jul 2020 16:16:47 +0000 (09:16 -0700)
commitc0b65ea8fda9959c6bb4036c7bff22d5e769973c
treea3e32e952d4760fc502f24f84faee4624049fa6c
parentd62607d1e95bd0df237de125270dce4037e256c6
t7400: make hash size independent

Instead of using cut with hard-coded hash sizes, use cut with fields, or
where that's not possible, sed with $OID_REGEX, so that the tests are
independent of hash size.

Signed-off-by: brian m. carlson <redacted>
Reviewed-by: Eric Sunshine <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t7400-submodule-basic.sh
git clone https://git.99rst.org/PROJECT