summaryrefslogtreecommitdiff
path: root/perl/Git/Packet.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl/Git/Packet.pm')
-rw-r--r--perl/Git/Packet.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl/Git/Packet.pm b/perl/Git/Packet.pm
index b75738bed4..d144f5168f 100644
--- a/perl/Git/Packet.pm
+++ b/perl/Git/Packet.pm
@@ -1,7 +1,7 @@
package Git::Packet;
use 5.008;
use strict;
-use warnings;
+use warnings $ENV{GIT_PERL_FATAL_WARNINGS} ? qw(FATAL all) : ();
BEGIN {
require Exporter;
if ($] < 5.008003) {