mirror of
https://github.com/git/git.git
synced 2024-10-28 12:59:41 +01:00
send-email tests: support GIT_TEST_PERL_FATAL_WARNINGS=true
Add support for the "GIT_TEST_PERL_FATAL_WARNINGS=true" test mode to
"send-email". This was added to e.g. git-svn in 5338ed2b26
(perl:
check for perl warnings while running tests, 2020-10-21), but not
"send-email". Let's rectify that.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
4e42405f00
commit
ecc4ee9cac
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@
|
|||
|
||||
use 5.008;
|
||||
use strict;
|
||||
use warnings;
|
||||
use warnings $ENV{GIT_PERL_FATAL_WARNINGS} ? qw(FATAL all) : ();
|
||||
use POSIX qw/strftime/;
|
||||
use Term::ReadLine;
|
||||
use Getopt::Long;
|
||||
|
|
Loading…
Reference in a new issue