mirror of
https://github.com/git/git.git
synced 2025-04-04 09:27:23 +00:00
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>
This commit is contained in:
parent
989c530e7f
commit
b6aaaa4470
@ -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 .= $_;
|
||||
|
Loading…
x
Reference in New Issue
Block a user