]> git.ipfire.org Git - thirdparty/git.git/commit
diff --no-index tests: add test for --exit-code
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sun, 21 Mar 2021 22:36:19 +0000 (23:36 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Mar 2021 18:48:41 +0000 (11:48 -0700)
commit271cb303a507c8e37fa894c36569c18c6d134510
treeb1c4ae6cb905e3b3cc1491ecd245caf2032c97ad
parenta5828ae6b52137b913b978e16cd2334482eb4c1f
diff --no-index tests: add test for --exit-code

Add a test for --exit-code working with --no-index. There's no reason
to suppose it wouldn't, but we weren't testing for it anywhere in our
tests. Let's fix that blind spot.

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