From 26ce9b7a6b8aa870ca1713101eaeda7a32da0904 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Thu, 14 Mar 2013 18:03:40 +0100 Subject: [PATCH] =?utf8?q?Warnung=20unterdr=C3=BCcken=20die=20den=20Test?= =?utf8?q?=20fehlschlagen=20l=C3=A4sst.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Git.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/SL/Git.pm b/SL/Git.pm index a292a78ef..76fd8e6c6 100644 --- a/SL/Git.pm +++ b/SL/Git.pm @@ -34,6 +34,7 @@ sub get_log { my $in = IO::File->new($self->git_exe . qq! log --format='tformat:\%H|\%an|\%ae|\%ai|\%s' ${since_until} |!); if (!$in) { + no warnings 'once'; $::lxdebug->message(LXDebug::WARN(), "Error spawning git: $!"); return (); } -- 2.20.1