summaryrefslogtreecommitdiff
path: root/perl/Git/I18N.pm
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2020-11-09 14:06:25 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-11-09 14:06:25 -0800
commit65681e75c1e57cb3c575969b4703323e6bdd447f (patch)
tree9d60f123a5a14cca9d46309cc2de1dac552f63db /perl/Git/I18N.pm
parentMerge branch 'nk/diff-files-vs-fsmonitor' (diff)
parentperl: check for perl warnings while running tests (diff)
downloadtgif-65681e75c1e57cb3c575969b4703323e6bdd447f.tar.xz
Merge branch 'jk/perl-warning'
Dev support. * jk/perl-warning: perl: check for perl warnings while running tests
Diffstat (limited to 'perl/Git/I18N.pm')
-rw-r--r--perl/Git/I18N.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl/Git/I18N.pm b/perl/Git/I18N.pm
index bfb4fb67a1..2037f387c8 100644
--- a/perl/Git/I18N.pm
+++ b/perl/Git/I18N.pm
@@ -1,7 +1,7 @@
package Git::I18N;
use 5.008;
use strict;
-use warnings;
+use warnings $ENV{GIT_PERL_FATAL_WARNINGS} ? qw(FATAL all) : ();
BEGIN {
require Exporter;
if ($] < 5.008003) {