X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-cvsexportcommit.perl;h=59b672213bfc36f95db089f0e13bafc1c2f2ed71;hb=73d419558d9fa4de3be28bd58158636bc739808e;hp=a36df3392652b8a854ca48bdf71977dcf12b244b;hpb=d978ead4c3933425f54142f2c3fab7f5071e36ef;p=git.git diff --git a/git-cvsexportcommit.perl b/git-cvsexportcommit.perl index a36df3392..59b672213 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}; } } } @@ -299,7 +300,7 @@ foreach my $f (@files) { while () { my $line = $_; - $line =~ s/\$([A-Z][a-z]+):[^\$]+\$/\$\1\$/g; + $line =~ s/\$([A-Z][a-z]+):[^\$]+\$/\$$1\$/g; print FILTER_OUT $line; } close FILTER_IN;