git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] t4202: fix patternType setting in --invert-grep test

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 18, 2021, 00:14 UTC
Message-ID
<xmqq5yrm22gv.fsf@gitster.g>
In-Reply-To
<79dcebc0-e569-cc8a-4702-c572b062ed6d@web.de>
René Scharfe <l.s.r@web.de> writes:
Show 18 quoted lines
> Actually use extended regexes as indicated in the comment.
>
> Signed-off-by: René Scharfe <l.s.r@web.de>
> ---
>  t/t4202-log.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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 &&
Good eyes.
Thanks.
Previous: René Scharfe
Message 2 of 2 in “t4202: fix patternType setting in --invert-grep test”
  1. t4202: fix patternType setting in --invert-grep testRené Scharfe, Dec 17, 2021
  2. Junio C HamanoDec 18, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.