Skip to content

Commit 37ea7c4

Browse files
Beat Bolligitster
authored andcommitted
t/t5*: merge a "grep | sed" pipeline
Signed-off-by: Beat Bolli <[email protected]> Acked-by: Taylor Blau <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent f7caf14 commit 37ea7c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t5401-update-hooks.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ remote: STDOUT post-update
123123
remote: STDERR post-update
124124
EOF
125125
test_expect_success 'send-pack stderr contains hook messages' '
126-
grep ^remote: send.err | sed "s/ *\$//" >actual &&
126+
sed -n "/^remote:/s/ *\$//p" send.err >actual &&
127127
test_cmp expect actual
128128
'
129129

0 commit comments

Comments
 (0)