Skip to content

Commit

Permalink
Avoid generating a warning if $fullname{$file} is undefined
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Woolley <git.wu-lee@noodlefactory.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Nick Woolley authored and Junio C Hamano committed Jul 6, 2009
1 parent 444f29c commit 3115fe9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion git-cvsexportcommit.perl
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,8 @@
if $file =~ /^no file /
&& $status eq 'Up-to-date';

$cvsstat{$fullname{$file}} = $status;
$cvsstat{$fullname{$file}} = $status
if defined $fullname{$file};
}
}
}
Expand Down

0 comments on commit 3115fe9

Please sign in to comment.