Skip to content

Commit 8e7b78a

Browse files
committed
Merge branch 'js/fsck-name-object' into maint
Test fix. * js/fsck-name-object: t1450: use egrep for regexp "alternation"
2 parents 5a24b4e + 73fc2aa commit 8e7b78a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t1450-fsck.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ test_expect_success 'fsck --name-objects' '
573573
remove_object $(git rev-parse julius:caesar.t) &&
574574
test_must_fail git fsck --name-objects >out &&
575575
tree=$(git rev-parse --verify julius:) &&
576-
grep "$tree (\(refs/heads/master\|HEAD\)@{[0-9]*}:" out
576+
egrep "$tree \((refs/heads/master|HEAD)@\{[0-9]*\}:" out
577577
)
578578
'
579579

0 commit comments

Comments
 (0)