From: Nick Woolley Date: Mon, 06 Jul 2009 13:33:45 GMT Subject: [PATCH 2/2] Avoid generating a warning if $fullname{$file} is undefined Message-ID: <4A51FD39.4080402@noodlefactory.co.uk> Signed-off-by: Nick Woolley --- git-cvsexportcommit.perl | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/git-cvsexportcommit.perl b/git-cvsexportcommit.perl index d509468..59b6722 100755 --- a/git-cvsexportcommit.perl +++ b/git-cvsexportcommit.perl @@ -259,7 +259,8 @@ if (@canstatusfiles) { if $file =~ /^no file / && $status eq 'Up-to-date'; - $cvsstat{$fullname{$file}} = $status; + $cvsstat{$fullname{$file}} = $status + if defined $fullname{$file}; } } } -- 1.6.3.3