]> git.ipfire.org Git - thirdparty/git.git/commit
tests: defang pager tests by explicitly disabling the log.mailmap warning
authorAriadne Conill <ariadne@dereferenced.org>
Mon, 15 Jul 2019 12:41:06 +0000 (07:41 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 15 Jul 2019 18:44:28 +0000 (11:44 -0700)
commitef60740e9efb364d8bb0fba120adecf860cc8ed0
tree67a82d7702905667666b5d7e5da33c3843b06a83
parent2d9c56905804baa76069e2176035aebd62ddff15
tests: defang pager tests by explicitly disabling the log.mailmap warning

In the previous patch, we added a deprecation warning for the current
log.mailmap setting. This warning only appears when git is attached to
a controlling terminal. Some tests however run under an emulated
terminal, so we need to disable the warning for those tests.

Thanks to Junio for suggesting that we do this in the setup function.

Signed-off-by: Ariadne Conill <ariadne@dereferenced.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7006-pager.sh