]> git.ipfire.org Git - thirdparty/git.git/commit
diff: make sure the other caller of diff_flush_patch_quietly() is silent
authorJunio C Hamano <gitster@pobox.com>
Wed, 22 Oct 2025 17:39:12 +0000 (10:39 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 23 Oct 2025 16:05:28 +0000 (09:05 -0700)
commit3da4413dbcdb8df021739ca6f20fe4f0bcd1fd3c
treee4769eec08e5f7f18fc55cf84173fb01a38d9a62
parent623f7af28417805d941b1618157b9d93c02347af
diff: make sure the other caller of diff_flush_patch_quietly() is silent

Earlier, we added is a protection for the loop that computes "git
diff --quiet -w" to ensure calls to the diff_flush_patch_quietly()
helper stays quiet.  Do the same for another loop that deals with
options like "--name-status" to make calls to the same helper.

Helped-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c