summaryrefslogtreecommitdiff
path: root/t/t4035-diff-quiet.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t4035-diff-quiet.sh')
-rwxr-xr-xt/t4035-diff-quiet.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/t4035-diff-quiet.sh b/t/t4035-diff-quiet.sh
index 231412d..e8ae2a0 100755
--- a/t/t4035-diff-quiet.sh
+++ b/t/t4035-diff-quiet.sh
@@ -148,4 +148,10 @@ test_expect_success 'git diff --ignore-all-space, both files outside repo' '
)
'
+test_expect_success 'git diff --quiet ignores stat-change only entries' '
+ test-chmtime +10 a &&
+ echo modified >>b &&
+ test_expect_code 1 git diff --quiet
+'
+
test_done