summaryrefslogtreecommitdiff
path: root/perl/Git/SVN/GlobSpec.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl/Git/SVN/GlobSpec.pm')
-rw-r--r--perl/Git/SVN/GlobSpec.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl/Git/SVN/GlobSpec.pm b/perl/Git/SVN/GlobSpec.pm
index a0a8d17..f2c1e1f 100644
--- a/perl/Git/SVN/GlobSpec.pm
+++ b/perl/Git/SVN/GlobSpec.pm
@@ -1,6 +1,6 @@
package Git::SVN::GlobSpec;
use strict;
-use warnings;
+use warnings $ENV{GIT_PERL_FATAL_WARNINGS} ? qw(FATAL all) : ();
sub new {
my ($class, $glob, $pattern_ok) = @_;