From: René Scharfe Date: Fri, 17 Dec 2021 16:48:52 +0000 (+0100) Subject: t4202: fix patternType setting in --invert-grep test X-Git-Tag: v2.35.0-rc0~33^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e6a9bc0c607bd45d46aea922995876c6e3e5aa68;p=thirdparty%2Fgit.git t4202: fix patternType setting in --invert-grep test Actually use extended regexes as indicated in the comment. Signed-off-by: René Scharfe Signed-off-by: Junio C Hamano --- diff --git a/t/t4202-log.sh b/t/t4202-log.sh index 7884e3d46b..f51b57b4a2 100755 --- a/t/t4202-log.sh +++ b/t/t4202-log.sh @@ -250,7 +250,7 @@ test_expect_success 'log --invert-grep --grep' ' test_cmp expect actual && # POSIX extended - git -c grep.patternType=basic log --pretty="tformat:%s" --invert-grep --grep=t[h] --grep=S[e]c >actual && + git -c grep.patternType=extended log --pretty="tformat:%s" --invert-grep --grep=t[h] --grep=S[e]c >actual && test_cmp expect actual && # PCRE