diff options
| author | Junio C Hamano <gitster@pobox.com> | 2024-05-16 10:08:35 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-05-16 10:08:35 -0700 |
| commit | e37423f081bb6e21eb1b77851ab06d72f30aee57 (patch) | |
| tree | 4ed08f1822d079e8c3759f6c0978ec4b8d614b61 /t/t4020-diff-external.sh | |
| parent | 11be65cfa43416219e85384a3a80d672b65b76ba (diff) | |
| download | git-e37423f081bb6e21eb1b77851ab06d72f30aee57.tar.gz | |
Revert "diff: fix --exit-code with external diff"
This reverts commit 11be65cfa43416219e85384a3a80d672b65b76ba, per
original author's request to come up with a better strategy.
Diffstat (limited to 't/t4020-diff-external.sh')
| -rwxr-xr-x | t/t4020-diff-external.sh | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/t/t4020-diff-external.sh b/t/t4020-diff-external.sh index b525d16c90..c1ac09ecc7 100755 --- a/t/t4020-diff-external.sh +++ b/t/t4020-diff-external.sh @@ -172,14 +172,6 @@ test_expect_success 'no diff with -diff' ' grep Binary out ' -test_expect_success 'diff.external and --exit-code with output' ' - test_expect_code 1 git -c diff.external=echo diff --exit-code -' - -test_expect_success 'diff.external and --exit-code without output' ' - git -c diff.external=true diff --exit-code -' - echo NULZbetweenZwords | perl -pe 'y/Z/\000/' > file test_expect_success 'force diff with "diff"' ' |
