]> git.ipfire.org Git - thirdparty/git.git/commit - t/t7400-submodule-basic.sh
t7400: make hash size independent
authorbrian m. carlson <sandals@crustytoothpaste.net>
Wed, 29 Jul 2020 23:14:03 +0000 (23:14 +0000)
committerJunio C Hamano <gitster@pobox.com>
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 <sandals@crustytoothpaste.net>
Reviewed-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7400-submodule-basic.sh