X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=contrib%2Ffast-import%2Fimport-tars.perl;h=7001862bfdf8de1c7d446c7ca17d87d5f953ca91;hb=170a4814d382e79ea774813c99f12bb2a2922776;hp=a909716682cd1ad6364c3a9509f45936f69a8134;hpb=f539cfbe8c157885197d1b6e4c1bcc6cbc54d0b9;p=git.git diff --git a/contrib/fast-import/import-tars.perl b/contrib/fast-import/import-tars.perl index a90971668..7001862bf 100755 --- a/contrib/fast-import/import-tars.perl +++ b/contrib/fast-import/import-tars.perl @@ -140,7 +140,7 @@ foreach my $tar_file (@ARGV) } elsif (!$header_done && /^Author:\s+([^<>]*)\s+<(.*)>\s*$/i) { $this_author_name = $1; $this_author_email = $2; - } elsif (!$header_done && /^$/ { # empty line ends header. + } elsif (!$header_done && /^$/) { # empty line ends header. $header_done = 1; } else { $commit_msg .= $_;