@matheusbsbs / matheus-bagliano / commits / 3115fe9821
Fork 0

Avoid generating a warning if $fullname{$file} is undefined

Signed-off-by: Nick Woolley <git.wu-lee@noodlefactory.co.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Nick Woolley committed Jul 6, 2009 at 14:33 UTC 3115fe9821912f67d1774cb2e33bcb2ffc162916
1 file changed +2 -1
git-cvsexportcommit.perl
+2 -1
@@ -259,7 +259,8 @@ if (@canstatusfiles) {
259 if $file =~ /^no file /
260 && $status eq 'Up-to-date';
261
262 - $cvsstat{$fullname{$file}} = $status;
262 + $cvsstat{$fullname{$file}} = $status
263 + if defined $fullname{$file};
264 }
265 }
266 }