We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67dd07e commit f7caf14Copy full SHA for f7caf14
t/t4002-diff-basic.sh
@@ -405,7 +405,7 @@ test_expect_success 'diff-tree -r B A == diff-tree -r -R A B' '
405
406
test_expect_success 'diff can read from stdin' '
407
test_must_fail git diff --no-index -- MN - < NN |
408
- grep -v "^index" | sed "s#/-#/NN#" >.test-a &&
+ sed "/^index/d; s#/-#/NN#" >.test-a &&
409
test_must_fail git diff --no-index -- MN NN |
410
grep -v "^index" >.test-b &&
411
test_cmp .test-a .test-b
0 commit comments