aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-04-01 16:23:34 -0700
committerJunio C Hamano <gitster@pobox.com>2011-04-01 16:23:34 -0700
commitbcf3d1fd9ccc04350d793c077d3c112fb26f43f0 (patch)
tree94ec20c8619ff467915f659f7803c56745393613 /t
parentbf87e09325f250ded42e1b2a024beb1a52f0d483 (diff)
parent2cfe8a68ccba86f046080f890102a9a43361cfdd (diff)
downloadgit-bcf3d1fd9ccc04350d793c077d3c112fb26f43f0.tar.gz
git-bcf3d1fd9ccc04350d793c077d3c112fb26f43f0.tar.xz
Merge branch 'jc/maint-diff-q-filter' into maint
* jc/maint-diff-q-filter: diff --quiet: disable optimization when --diff-filter=X is used
Diffstat (limited to 't')
-rwxr-xr-xt/t4040-whitespace-status.sh7
1 files changed, 7 insertions, 0 deletions
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