diff options
Diffstat (limited to 'git-cvsexportcommit.perl')
-rwxr-xr-x | git-cvsexportcommit.perl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/git-cvsexportcommit.perl b/git-cvsexportcommit.perl index a36df33926..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}; } } } @@ -299,7 +300,7 @@ foreach my $f (@files) { while (<FILTER_IN>) { 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; |