git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2/2] Avoid generating a warning if $fullname{$file} is undefined
@ 2009-07-06 13:33 Nick Woolley
  0 siblings, 0 replies; only message in thread
From: Nick Woolley @ 2009-07-06 13:33 UTC (permalink / raw)
  To: git

Signed-off-by: Nick Woolley <git.wu-lee@noodlefactory.co.uk>
---
 git-cvsexportcommit.perl |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/git-cvsexportcommit.perl b/git-cvsexportcommit.perl
index d509468..59b6722 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};
       }
     }
 }
-- 
1.6.3.3

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-07-06 14:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-06 13:33 [PATCH 2/2] Avoid generating a warning if $fullname{$file} is undefined Nick Woolley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).