summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Woolley <nick@noodlefactory.co.uk>2009-07-06 14:33:45 +0100
committerJunio C Hamano <gitster@pobox.com>2009-07-06 09:36:43 -0700
commit3115fe9821912f67d1774cb2e33bcb2ffc162916 (patch)
tree139933e87365368d8052062bb05eae332797358d
parent444f29ce42a6de8e29a05f892f9ce5215cd38d56 (diff)
downloadgit-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-xgit-cvsexportcommit.perl3
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};
}
}
}