aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-10-22 12:58:50 -0700
committerJunio C Hamano <gitster@pobox.com>2025-10-22 12:58:50 -0700
commit45b5ae65e8b29139c3c74682510d28ad7b7f85fa (patch)
treead9ca29194daae36fe845473e33f20765643753e /t
parentThe twenty-second batch (diff)
parentdiff: restore redirection to /dev/null for diff_from_contents (diff)
downloadgit-45b5ae65e8b29139c3c74682510d28ad7b7f85fa.tar.gz
git-45b5ae65e8b29139c3c74682510d28ad7b7f85fa.zip
Merge branch 'jk/diff-from-contents-fix' into ly/diff-name-only-with-diff-from-content
* jk/diff-from-contents-fix: diff: restore redirection to /dev/null for diff_from_contents
Diffstat (limited to 't')
-rwxr-xr-xt/t4035-diff-quiet.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/t4035-diff-quiet.sh b/t/t4035-diff-quiet.sh
index 0352bf81a9..35eaf0855f 100755
--- a/t/t4035-diff-quiet.sh
+++ b/t/t4035-diff-quiet.sh
@@ -50,6 +50,10 @@ test_expect_success 'git diff-tree HEAD HEAD' '
test_expect_code 0 git diff-tree --quiet HEAD HEAD >cnt &&
test_line_count = 0 cnt
'
+test_expect_success 'git diff-tree -w HEAD^ HEAD' '
+ test_expect_code 1 git diff-tree --quiet -w HEAD^ HEAD >cnt &&
+ test_line_count = 0 cnt
+'
test_expect_success 'git diff-files' '
test_expect_code 0 git diff-files --quiet >cnt &&
test_line_count = 0 cnt