Skip to content

Commit

Permalink
t7060: actually test "git diff-index --cached -M"
Browse files Browse the repository at this point in the history
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 <matthieuprat@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Matthieu Prat authored and Junio C Hamano committed Sep 2, 2015
1 parent d7c9bf2 commit b894d3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/t7060-wtstatus.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ test_expect_success 'git diff-index --cached -M shows 2 added + 1 unmerged' '
A THREE
A TWO
EOF
git diff-index --cached --name-status HEAD >actual &&
git diff-index --cached -M --name-status HEAD >actual &&
test_cmp expected actual
'

Expand Down

0 comments on commit b894d3e

Please sign in to comment.