summaryrefslogtreecommitdiff
path: root/perl/Git/IndexInfo.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl/Git/IndexInfo.pm')
-rw-r--r--perl/Git/IndexInfo.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl/Git/IndexInfo.pm b/perl/Git/IndexInfo.pm
index 2a7b4908f3..9ee054f854 100644
--- a/perl/Git/IndexInfo.pm
+++ b/perl/Git/IndexInfo.pm
@@ -1,6 +1,6 @@
package Git::IndexInfo;
use strict;
-use warnings;
+use warnings $ENV{GIT_PERL_FATAL_WARNINGS} ? qw(FATAL all) : ();
use Git qw/command_input_pipe command_close_pipe/;
sub new {