Skip to content

Commit 88ed241

Browse files
bk2204gitster
authored andcommitted
t5607: make hash size independent
Use $OID_REGEX instead of a hard-coded regular expression. Signed-off-by: brian m. carlson <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 48c10cc commit 88ed241

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t5607-clone-bundle.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ test_expect_success 'ridiculously long subject in boundary' '
6464
test -s heads &&
6565
git fetch long-subject-bundle.bdl &&
6666
sed -n "/^-/{p;q;}" long-subject-bundle.bdl >boundary &&
67-
grep "^-[0-9a-f]\\{40\\} " boundary
67+
grep "^-$OID_REGEX " boundary
6868
'
6969

7070
test_expect_success 'prerequisites with an empty commit message' '

0 commit comments

Comments
 (0)