X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft4040-whitespace-status.sh;h=abc49348b196cf0fec232b6f2399356e4fe324d5;hb=abe27c0cbd97bf6a693004ddb411392ed596a853;hp=a30b03bcf27ba360c3761ade77ddf0ed00600470;hpb=d16a5dafdcec037631a5453ca7923992ce27a151;p=git.git diff --git a/t/t4040-whitespace-status.sh b/t/t4040-whitespace-status.sh index a30b03bcf..abc49348b 100755 --- a/t/t4040-whitespace-status.sh +++ b/t/t4040-whitespace-status.sh @@ -60,4 +60,11 @@ test_expect_success 'diff-files -b -p --exit-code' ' git diff-files -b -p --exit-code ' +test_expect_success 'diff-files --diff-filter --quiet' ' + git reset --hard && + rm a/d && + echo x >>b/e && + test_must_fail git diff-files --diff-filter=M --quiet +' + test_done