import-tars: Add missing closing bracket
authorIngmar Vanhassel <ingmar@exherbo.org>
Fri, 9 Oct 2009 12:08:31 +0000 (14:08 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 9 Oct 2009 21:58:13 +0000 (14:58 -0700)
This fixes an obvious syntax error that snuck in commit 7e787953:

  syntax error at /home/ingmar/bin//git-import-tars line 143, near "/^$/ { "
  syntax error at /home/ingmar/bin//git-import-tars line 145, near "} else"
  syntax error at /home/ingmar/bin//git-import-tars line 152, near "}"

Signed-off-by: Ingmar Vanhassel <ingmar@exherbo.org>
Acked-and-Tested-by: Peter Krefting <peter@softwolves.pp.se>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/fast-import/import-tars.perl

index a909716682cd1ad6364c3a9509f45936f69a8134..7001862bfdf8de1c7d446c7ca17d87d5f953ca91 100755 (executable)
@@ -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 .= $_;