diff options
| author | René Scharfe <l.s.r@web.de> | 2024-06-09 09:38:24 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-06-10 09:19:20 -0700 |
| commit | 33be6cf51acf74e623fb3c4e287f7aebbedf5c09 (patch) | |
| tree | 62192c93861b056184d4836e023894835214ce95 /Documentation/diff-options.txt | |
| parent | 1b76f065085811104b5f4adff001956d7e5c5d1c (diff) | |
| download | git-33be6cf51acf74e623fb3c4e287f7aebbedf5c09.tar.xz | |
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>
Diffstat (limited to 'Documentation/diff-options.txt')
| -rw-r--r-- | Documentation/diff-options.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/diff-options.txt b/Documentation/diff-options.txt index c7df20e571..6b73daf540 100644 --- a/Documentation/diff-options.txt +++ b/Documentation/diff-options.txt @@ -820,6 +820,7 @@ ifndef::git-log[] --quiet:: Disable all output of the program. Implies `--exit-code`. + Disables execution of external diff helpers. endif::git-log[] endif::git-format-patch[] |
