mbox series

[0/2] diff --no-index: fix test blind spots

Message ID cover.1616330120.git.avarab@gmail.com (mailing list archive)
Headers show
Series diff --no-index: fix test blind spots | expand

Message

Ævar Arnfjörð Bjarmason March 21, 2021, 12:39 p.m. UTC
A trivial series to add tests for "git diff --no-index"'s mode
handling, and a missing test for how --exit-code behaves in
combination with --no-index while I was at it.

This would have caught the regression I inadvertently introduced
in[1]. It's related to my much larger tree-walk.h series[2], but
applies independently of that. I wanted to split it off as there were
no conflicts or behavior changes related to canon_mode() in that
series anymore.

1. https://lore.kernel.org/git/20210316155829.31242-2-avarab@gmail.com/
2. https://lore.kernel.org/git/cover.1616282533.git.avarab@gmail.com/


Ævar Arnfjörð Bjarmason (2):
  diff --no-index tests: add test for --exit-code
  diff --no-index tests: test mode normalization

 t/t4053-diff-no-index.sh | 37 ++++++++++++++++++++++++++++++++++++-
 1 file changed, 36 insertions(+), 1 deletion(-)