t4054: test diff --no-index with stdin
commitdf521462f01b61314c9c18a4b58a53db0cd7bf3c
authorPhillip Wood <phillip.wood@dunelm.org.uk>
Wed, 5 Jul 2023 19:49:29 +0000 (5 20:49 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 5 Jul 2023 21:00:28 +0000 (5 14:00 -0700)
treefd70574a38eb9b67f97ea0c79e0b8d2bc0ea1330
parent4e61e0f68053ff3fcca298ebd3080527e3565004
t4054: test diff --no-index with stdin

"git diff --no-index" supports reading from stdin with the path "-".
There is no test coverage for this so add a regression test before
changing the code in the next commit.

Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4053-diff-no-index.sh