Skip to content

Commit b894d3e

Browse files
matthieupratgitster
authored andcommitted
t7060: actually test "git diff-index --cached -M"
A test was designed for "git diff-index --cached -M" but the command is run without the "-M" option (which makes the test essentially identical to its preceding counterpart). Signed-off-by: Matthieu Prat <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent d7c9bf2 commit b894d3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t7060-wtstatus.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ test_expect_success 'git diff-index --cached -M shows 2 added + 1 unmerged' '
103103
A THREE
104104
A TWO
105105
EOF
106-
git diff-index --cached --name-status HEAD >actual &&
106+
git diff-index --cached -M --name-status HEAD >actual &&
107107
test_cmp expected actual
108108
'
109109

0 commit comments

Comments
 (0)