Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
ls-remote: the --exit-code option reports "no matching refs"
[gitweb.git]
/
t
/
t4040-whitespace-status.sh
diff --git
a/t/t4040-whitespace-status.sh
b/t/t4040-whitespace-status.sh
index a30b03bcf27ba360c3761ade77ddf0ed00600470..abc49348b196cf0fec232b6f2399356e4fe324d5 100755
(executable)
--- 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