mirror of
https://github.com/git/git
synced 2024-08-27 11:39:22 +00:00
send-email: accept absolute path even on Windows
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
parent
f9ef98f9d3
commit
6d95a38a36
|
@ -1050,7 +1050,7 @@ sub send_message {
|
|||
|
||||
if ($dry_run) {
|
||||
# We don't want to send the email.
|
||||
} elsif ($smtp_server =~ m#^/#) {
|
||||
} elsif ($smtp_server =~ m#^/# || $smtp_server =~ m#[a-zA-Z]\:#) {
|
||||
my $pid = open my $sm, '|-';
|
||||
defined $pid or die $!;
|
||||
if (!$pid) {
|
||||
|
|
Loading…
Reference in a new issue