File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -52,8 +52,8 @@ test_expect_success setup '
52
52
'
53
53
54
54
test_expect_success ' cross renames to be detected for regular files' '
55
-
56
- git diff-tree five six -r --name-status -B -M | sort >actual &&
55
+ git diff-tree five six -r --name-status -B -M >out &&
56
+ sort out >actual &&
57
57
{
58
58
echo "R100 foo bar" &&
59
59
echo "R100 bar foo"
@@ -63,8 +63,8 @@ test_expect_success 'cross renames to be detected for regular files' '
63
63
'
64
64
65
65
test_expect_success ' cross renames to be detected for typechange' '
66
-
67
- git diff-tree one two -r --name-status -B -M | sort >actual &&
66
+ git diff-tree one two -r --name-status -B -M >out &&
67
+ sort out >actual &&
68
68
{
69
69
echo "R100 foo bar" &&
70
70
echo "R100 bar foo"
@@ -74,8 +74,8 @@ test_expect_success 'cross renames to be detected for typechange' '
74
74
'
75
75
76
76
test_expect_success ' moves and renames' '
77
-
78
- git diff-tree three four -r --name-status -B -M | sort >actual &&
77
+ git diff-tree three four -r --name-status -B -M >out &&
78
+ sort out >actual &&
79
79
{
80
80
# see -B -M (#6) in t4008
81
81
echo "C100 foo bar" &&
You can’t perform that action at this time.
0 commit comments