summaryrefslogtreecommitdiff
path: root/contrib/fast-import/import-tars.perl
diff options
context:
space:
mode:
authorIngmar Vanhassel <ingmar@exherbo.org>2009-10-09 12:08:31 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-10-09 21:58:13 (GMT)
commitb6aaaa4470ef578add390bb60292ed9b4cb4af3c (patch)
tree7ab221451535479c1c8fd086c94ed6dee442c801 /contrib/fast-import/import-tars.perl
parent989c530e7f7f85db7fb5a340319cca88ca702b2a (diff)
downloadgit-b6aaaa4470ef578add390bb60292ed9b4cb4af3c.zip
git-b6aaaa4470ef578add390bb60292ed9b4cb4af3c.tar.gz
git-b6aaaa4470ef578add390bb60292ed9b4cb4af3c.tar.bz2
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>
Diffstat (limited to 'contrib/fast-import/import-tars.perl')
-rwxr-xr-xcontrib/fast-import/import-tars.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/fast-import/import-tars.perl b/contrib/fast-import/import-tars.perl
index a909716..7001862 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 .= $_;