]> git.99rst.org Git - git.git/commit
diff tests: don't ignore "git diff" exit code
authorÆvar Arnfjörð Bjarmason <redacted>
Mon, 7 Mar 2022 12:48:55 +0000 (13:48 +0100)
committerJunio C Hamano <redacted>
Mon, 7 Mar 2022 21:27:39 +0000 (13:27 -0800)
commitd239ef1cbacfa021175147ae69e6b5ec0de234a6
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t4020-diff-external.sh
git clone https://git.99rst.org/PROJECT