DORMANTno replies

[PATCH 2/2] Avoid generating a warning if $fullname{$file} is undefined

From: Nick Woolley <hidden>
Date: 2016-06-15 22:47:01
Subsystem: the rest · Maintainer: Linus Torvalds

Signed-off-by: Nick Woolley <redacted>
---
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help