]> git.ipfire.org Git - thirdparty/git.git/blobdiff - perl/Git/SVN/Utils.pm
perl: check for perl warnings while running tests
[thirdparty/git.git] / perl / Git / SVN / Utils.pm
index 3d1a0933a2eb27dc123730c67470be503e91bf93..5ca09ab448328b7e29c1cc248191cd8abf2a82f3 100644 (file)
@@ -1,7 +1,7 @@
 package Git::SVN::Utils;
 
 use strict;
-use warnings;
+use warnings $ENV{GIT_PERL_FATAL_WARNINGS} ? qw(FATAL all) : ();
 
 use SVN::Core;