diff tests: don't ignore "git diff" exit code
commitd239ef1cbacfa021175147ae69e6b5ec0de234a6
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Mon, 7 Mar 2022 12:48:55 +0000 (7 13:48 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Mar 2022 21:27:39 +0000 (7 13:27 -0800)
treee74118a7aaa4829bcfc91bd0d90f175d50dfc348
parent277ce7961d3c01c77b16fe4f751672b855b087fb
diff tests: don't ignore "git diff" exit code

Fix a test pattern that originated in f1af60bdba4 (Support 'diff=pgm'
attribute, 2007-04-22) so that we'll stop using "git diff" on the
left-hand-side of a pipe, and thus ignoring its exit code.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4020-diff-external.sh