]> git.ipfire.org Git - thirdparty/git.git/commit
t4150: fix warning printed by awk due to escaped '\@'
authorPatrick Steinhardt <ps@pks.im>
Mon, 7 Jul 2025 11:08:33 +0000 (13:08 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Jul 2025 16:12:43 +0000 (09:12 -0700)
commit385e175cb596e086e89c4cbc06ece733c5515a39
tree8ac0536e2fccecf94473a2d3d26e5b42811a3f2c
parent16bd9f20a403117f2e0d9bcda6c6e621d3763e77
t4150: fix warning printed by awk due to escaped '\@'

In 6aec8d38fdd (t: refactor tests depending on Perl to print data,
2025-04-03) we have changed one of the tests in t4150 to use awk(1)
instead of Perl. The test works, but at least gawk(1) prints a warning
now:

    awk: cmd. line:3: warning: escape sequence `\@' treated as plain `@'

Fix this by removing the backslash.

Reported-by: SZEDER Gábor <szeder.dev@gmail.com>
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4150-am.sh