t7502: use diff.noprefix for --verbose test
authorJeff King <peff@peff.net>
Tue, 3 Oct 2017 13:43:47 +0000 (09:43 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 4 Oct 2017 02:32:56 +0000 (11:32 +0900)
commit0fcf760e3cc336d28e0ab30e829ea33d37b3ae37
treeba5e750fb5e4f509dfaa95588f4e4a7ef31c4cd1
parent01c94e9001d5e78be32c64728058428fdb2febb4
t7502: use diff.noprefix for --verbose test

To check that "status -v" respects diff config, we set
"color.diff" and look at the output of "status". We could
equally well use any diff config. Since color output depends
on a lot of other factors (like whether stdout is a tty, and
how we interpret "always"), let's use a more mundane option.

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