mirror of
https://github.com/git/git.git
synced 2026-01-19 07:04:49 +00:00
send-email: accept absolute path even on Windows
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
committed by
Erik Faye-Lund
parent
c1c7c77ab9
commit
33b2e81f84
@@ -984,7 +984,7 @@ X-Mailer: git-send-email $gitversion
|
|||||||
|
|
||||||
if ($dry_run) {
|
if ($dry_run) {
|
||||||
# We don't want to send the email.
|
# 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, '|-';
|
my $pid = open my $sm, '|-';
|
||||||
defined $pid or die $!;
|
defined $pid or die $!;
|
||||||
if (!$pid) {
|
if (!$pid) {
|
||||||
|
|||||||
Reference in New Issue
Block a user