summaryrefslogtreecommitdiff
path: root/t/t4040-whitespace-status.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t4040-whitespace-status.sh')
-rwxr-xr-xt/t4040-whitespace-status.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/t/t4040-whitespace-status.sh b/t/t4040-whitespace-status.sh
index abc4934..3c728a3 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