X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft4040-whitespace-status.sh;h=3c728a3ebf9ce52e5c24c81525d5cb749cfb2957;hb=e9d4f7405b6ab399ef0ea62a796c646de676555d;hp=abc49348b196cf0fec232b6f2399356e4fe324d5;hpb=22dbeee715e4c9fae3e3fdc1f3a2c4a6ec90e593;p=git.git diff --git a/t/t4040-whitespace-status.sh b/t/t4040-whitespace-status.sh index abc49348b..3c728a3eb 100755 --- a/t/t4040-whitespace-status.sh +++ b/t/t4040-whitespace-status.sh @@ -67,4 +67,9 @@ test_expect_success 'diff-files --diff-filter --quiet' ' test_must_fail git diff-files --diff-filter=M --quiet ' +test_expect_success 'diff-tree --diff-filter --quiet' ' + git commit -a -m "worktree state" && + test_must_fail git diff-tree --diff-filter=M --quiet HEAD^ HEAD +' + test_done