@matheusbsbs / matheus-bagliano / commits / b6aaaa4470
Fork 0

import-tars: Add missing closing bracket

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>

Ingmar Vanhassel committed Oct 9, 2009 at 14:08 UTC b6aaaa4470ef578add390bb60292ed9b4cb4af3c
1 file changed +1 -1
contrib/fast-import/import-tars.perl
+1 -1
@@ -140,7 +140,7 @@ foreach my $tar_file (@ARGV)
140 } elsif (!$header_done && /^Author:\s+([^<>]*)\s+<(.*)>\s*$/i) {
141 $this_author_name = $1;
142 $this_author_email = $2;
143 - } elsif (!$header_done && /^$/ { # empty line ends header.
143 + } elsif (!$header_done && /^$/) { # empty line ends header.
144 $header_done = 1;
145 } else {
146 $commit_msg .= $_;