summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlocal/post-receive.gentoo-commits4
1 files changed, 2 insertions, 2 deletions
diff --git a/local/post-receive.gentoo-commits b/local/post-receive.gentoo-commits
index 954b416..85d019d 100755
--- a/local/post-receive.gentoo-commits
+++ b/local/post-receive.gentoo-commits
@@ -422,8 +422,8 @@ sub get_data($) {
if($field eq "committer") {
if (!$data{"committer_email"} || !$data{"committer_realname"} || !$data{"committer"}) {
{
- no warnings 'uninitialized';
- warn("Warning: falling back to legacy committer detection as no or not enough metadata was provided committer_email=$committer_email committer_realname=$committer_realname committer=$committer");
+ no warnings;
+ warn("Warning: falling back to legacy committer detection as no or not enough metadata was provided committer_email=$data{"committer_email"} committer_realname=$data{"committer_realname"} committer=$data{"committer"}");
}
$data{"committer_email"} = pop(@fields);
$data{"committer_email"} =~ s/[<>]//g;