summaryrefslogtreecommitdiff
path: root/perl/Git/SVN/Migration.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl/Git/SVN/Migration.pm')
-rw-r--r--perl/Git/SVN/Migration.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl/Git/SVN/Migration.pm b/perl/Git/SVN/Migration.pm
index dc90f6a621..ed96ac593e 100644
--- a/perl/Git/SVN/Migration.pm
+++ b/perl/Git/SVN/Migration.pm
@@ -33,7 +33,7 @@ package Git::SVN::Migration;
# possible if noMetadata or useSvmProps are set; but should
# be no problem for users that use the (sensible) defaults.
use strict;
-use warnings;
+use warnings $ENV{GIT_PERL_FATAL_WARNINGS} ? qw(FATAL all) : ();
use Carp qw/croak/;
use File::Path qw/mkpath/;
use File::Basename qw/dirname basename/;