mirror of
https://github.com/git/git
synced 2024-11-04 16:17:49 +00:00
t/t4*: 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>
This commit is contained in:
parent
67dd07e8af
commit
f7caf1479e
1 changed files with 1 additions and 1 deletions
|
@ -405,7 +405,7 @@ test_expect_success 'diff-tree -r B A == diff-tree -r -R A B' '
|
|||
|
||||
test_expect_success 'diff can read from stdin' '
|
||||
test_must_fail git diff --no-index -- MN - < NN |
|
||||
grep -v "^index" | sed "s#/-#/NN#" >.test-a &&
|
||||
sed "/^index/d; s#/-#/NN#" >.test-a &&
|
||||
test_must_fail git diff --no-index -- MN NN |
|
||||
grep -v "^index" >.test-b &&
|
||||
test_cmp .test-a .test-b
|
||||
|
|
Loading…
Reference in a new issue