rebase: consistent error messages for staged and unstaged changes.
[gitweb.git] / git-cvsexportcommit.perl
index d50946872a73d4ddb4bce0e6101ae144395613a4..59b672213bfc36f95db089f0e13bafc1c2f2ed71 100755 (executable)
            if $file =~ /^no file /
                && $status eq 'Up-to-date';
 
-       $cvsstat{$fullname{$file}} = $status;
+       $cvsstat{$fullname{$file}} = $status
+           if defined $fullname{$file};
       }
     }
 }