Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
diff: do not quit early on stat-dirty files
[gitweb.git]
/
t
/
t4035-diff-quiet.sh
diff --git
a/t/t4035-diff-quiet.sh
b/t/t4035-diff-quiet.sh
index 231412d1008e45e1d788660930cab708d3912ed4..e8ae2a03fdcf5ac57dc0e5bcacd40501960bce1c 100755
(executable)
--- 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