diff options
author | Beat Bolli <bb@drbeat.li> | 2024-03-15 20:46:15 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-03-16 19:08:57 +0100 |
commit | 37ea7c4875f4b581a75a6a2ac6c4904040a75580 (patch) | |
tree | d6861bdc72723ce3b65e437d7ceda949cbd2724b /t/t5401-update-hooks.sh | |
parent | t/t4*: merge a "grep | sed" pipeline (diff) | |
download | git-37ea7c4875f4b581a75a6a2ac6c4904040a75580.tar.xz git-37ea7c4875f4b581a75a6a2ac6c4904040a75580.zip |
t/t5*: merge a "grep | sed" pipeline
Signed-off-by: Beat Bolli <dev+git@drbeat.li>
Acked-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5401-update-hooks.sh')
-rwxr-xr-x | t/t5401-update-hooks.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5401-update-hooks.sh b/t/t5401-update-hooks.sh index 8b8bc47dc0..d8cadeec73 100755 --- a/t/t5401-update-hooks.sh +++ b/t/t5401-update-hooks.sh @@ -123,7 +123,7 @@ remote: STDOUT post-update remote: STDERR post-update EOF test_expect_success 'send-pack stderr contains hook messages' ' - grep ^remote: send.err | sed "s/ *\$//" >actual && + sed -n "/^remote:/s/ *\$//p" send.err >actual && test_cmp expect actual ' |