t4013: add tests for diff prefix options
commit7c03d0db8807d303540297432455adfa1c45b05e
authorJeff King <peff@peff.net>
Thu, 9 Mar 2023 06:07:45 +0000 (9 01:07 -0500)
committerJunio C Hamano <gitster@pobox.com>
Thu, 9 Mar 2023 16:32:19 +0000 (9 08:32 -0800)
treea5c144609bffb4db01f449e20e70be5f6c192e3c
parent6799aadfdf484135476aaf74f5d2eb825d9f00e8
t4013: add tests for diff prefix options

We don't have any specific test coverage of diff's various prefix
options. We do incidentally invoke them in a few places, but it's worth
having a more thorough set of tests that covers all of the effects we
expect to see, and that the options kick in at the appropriate times.

This will be especially useful as the next patch adds more options.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4013-diff-various.sh