summaryrefslogtreecommitdiff
path: root/perl/Git/SVN/Prompt.pm
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2020-11-09 14:06:25 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-11-09 14:06:25 -0800
commit65681e75c1e57cb3c575969b4703323e6bdd447f (patch)
tree9d60f123a5a14cca9d46309cc2de1dac552f63db /perl/Git/SVN/Prompt.pm
parentMerge branch 'nk/diff-files-vs-fsmonitor' (diff)
parentperl: check for perl warnings while running tests (diff)
downloadtgif-65681e75c1e57cb3c575969b4703323e6bdd447f.tar.xz
Merge branch 'jk/perl-warning'
Dev support. * jk/perl-warning: perl: check for perl warnings while running tests
Diffstat (limited to 'perl/Git/SVN/Prompt.pm')
-rw-r--r--perl/Git/SVN/Prompt.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl/Git/SVN/Prompt.pm b/perl/Git/SVN/Prompt.pm
index e940b08505..de158e848f 100644
--- a/perl/Git/SVN/Prompt.pm
+++ b/perl/Git/SVN/Prompt.pm
@@ -1,6 +1,6 @@
package Git::SVN::Prompt;
use strict;
-use warnings;
+use warnings $ENV{GIT_PERL_FATAL_WARNINGS} ? qw(FATAL all) : ();
require SVN::Core;
use vars qw/$_no_auth_cache $_username/;