diff options
author | Nick Woolley <nick@noodlefactory.co.uk> | 2009-07-06 14:33:45 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-07-06 09:36:43 -0700 |
commit | 3115fe9821912f67d1774cb2e33bcb2ffc162916 (patch) | |
tree | 139933e87365368d8052062bb05eae332797358d | |
parent | 444f29ce42a6de8e29a05f892f9ce5215cd38d56 (diff) | |
download | git-3115fe9821912f67d1774cb2e33bcb2ffc162916.tar.gz |
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>
-rwxr-xr-x | git-cvsexportcommit.perl | 3 |
1 files changed, 2 insertions, 1 deletions
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}; } } } |