{"thread":{"id":"61488","subject":"[PATCH v2] t/t0211-trace2-perf.sh: fix typo patern -> pattern","startedAt":"2024-05-16T07:45:12Z","lastAt":"2024-05-16T16:34:26Z","messageCount":2,"participants":["Marcel Telka","Junio C Hamano"],"isPatch":true,"patchVersion":2,"patchTotal":null},"messages":[{"id":"494857","messageId":"ZkW5ggOVlglfi64u@telcontar","threadId":"61488","inReplyTo":null,"subject":"[PATCH v2] t/t0211-trace2-perf.sh: fix typo patern -> pattern","fromName":"Marcel Telka","fromEmail":"marcel@telka.sk","sentAt":"2024-05-16T07:45:06Z","receivedAt":"2024-05-16T07:45:12Z","isPatch":true,"sender":{"key":"marcel@telka.sk","avatar":"https://avatars.githubusercontent.com/u/3000173?v=4"},"body":"The bug went unnoticed because grep with null RE matches everything.\n\nSigned-off-by: Marcel Telka <marcel@telka.sk>\n---\n t/t0211-trace2-perf.sh | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/t/t0211-trace2-perf.sh b/t/t0211-trace2-perf.sh\nindex 13ef69b92f..070fe7a5da 100755\n--- a/t/t0211-trace2-perf.sh\n+++ b/t/t0211-trace2-perf.sh\n@@ -233,7 +233,7 @@ have_counter_event () {\n \n \tpattern=\"d0|${thread}|${event}||||${category}|name:${name} value:${value}\" &&\n \n-\tgrep \"${patern}\" ${file}\n+\tgrep \"${pattern}\" ${file}\n }\n \n test_expect_success 'global counter test/test1' '\n"},{"id":"494900","messageId":"xmqqseyhra0i.fsf@gitster.g","threadId":"61488","inReplyTo":"ZkW5ggOVlglfi64u@telcontar","subject":"Re: [PATCH v2] t/t0211-trace2-perf.sh: fix typo patern -> pattern","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2024-05-16T16:34:21Z","receivedAt":"2024-05-16T16:34:26Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Marcel Telka <marcel@telka.sk> writes:\n\n> The bug went unnoticed because grep with null RE matches everything.\n>\n> Signed-off-by: Marcel Telka <marcel@telka.sk>\n> ---\n>  t/t0211-trace2-perf.sh | 2 +-\n>  1 file changed, 1 insertion(+), 1 deletion(-)\n\nThanks.  Will queue.\n\n> diff --git a/t/t0211-trace2-perf.sh b/t/t0211-trace2-perf.sh\n> index 13ef69b92f..070fe7a5da 100755\n> --- a/t/t0211-trace2-perf.sh\n> +++ b/t/t0211-trace2-perf.sh\n> @@ -233,7 +233,7 @@ have_counter_event () {\n>  \n>  \tpattern=\"d0|${thread}|${event}||||${category}|name:${name} value:${value}\" &&\n>  \n> -\tgrep \"${patern}\" ${file}\n> +\tgrep \"${pattern}\" ${file}\n>  }\n>  \n>  test_expect_success 'global counter test/test1' '\n"}]}