From 3115fe9821912f67d1774cb2e33bcb2ffc162916 Mon Sep 17 00:00:00 2001 From: Nick Woolley Date: Mon, 6 Jul 2009 14:33:45 +0100 Subject: Avoid generating a warning if $fullname{$file} is undefined Signed-off-by: Nick Woolley Signed-off-by: Junio C Hamano --- git-cvsexportcommit.perl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'git-cvsexportcommit.perl') diff --git a/git-cvsexportcommit.perl b/git-cvsexportcommit.perl index d50946872a..59b672213b 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}; } } } -- cgit v1.2.3