]> git.ipfire.org Git - thirdparty/git.git/commit
t4020: test exit code with external diffs
authorRené Scharfe <l.s.r@web.de>
Sun, 9 Jun 2024 07:38:24 +0000 (09:38 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 10 Jun 2024 16:19:20 +0000 (09:19 -0700)
commit33be6cf51acf74e623fb3c4e287f7aebbedf5c09
tree62192c93861b056184d4836e023894835214ce95
parent1b76f065085811104b5f4adff001956d7e5c5d1c
t4020: test exit code with external diffs

Add tests to check the exit code of git diff with its options --quiet
and --exit-code when using an external diff program.  Currently we
cannot tell whether it found significant changes or not.

While at it, document briefly that --quiet turns off execution of
external diff programs because that behavior surprised me for a moment
while writing the tests.

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/diff-options.txt
t/t4020-diff-external.sh