summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 989c530)
raw | patch | inline | side by side (parent: 989c530)
author | Ingmar Vanhassel <ingmar@exherbo.org> | |
Fri, 9 Oct 2009 12:08:31 +0000 (14:08 +0200) | ||
committer | Junio 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>
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 | patch | blob | history |
index a909716682cd1ad6364c3a9509f45936f69a8134..7001862bfdf8de1c7d446c7ca17d87d5f953ca91 100755 (executable)
} 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 .= $_;